fix: HOTFIX Sage input required #1024

Merged
jsegarra merged 5 commits from hotfix_required_sage into master 2024-12-02 12:34:29 +00:00
1 changed files with 1 additions and 0 deletions
Showing only changes of commit 883104f1f1 - Show all commits

View File

@ -1,6 +1,7 @@
function orderData(data, order) {
if (typeof order === 'function') return data.sort(data);
if (typeof order === 'string') order = [order];
if (!Array.isArray(data)) return [];
if (Array.isArray(order)) {
let orderComp = [];