jamespot-front-business 1.1.60 → 1.1.62
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs.js +9 -2
- package/dist/cjs.js.map +1 -1
- package/dist/esm.js +9 -2
- package/dist/esm.js.map +1 -1
- package/dist/types.d.ts +6331 -15682
- package/package.json +2 -2
package/dist/cjs.js
CHANGED
|
@@ -46,7 +46,12 @@ function __awaiter(thisArg, _arguments, P, generator) {
|
|
|
46
46
|
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
47
47
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
48
48
|
});
|
|
49
|
-
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
|
|
52
|
+
var e = new Error(message);
|
|
53
|
+
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
54
|
+
};
|
|
50
55
|
|
|
51
56
|
const toastAdapter = toolkit.createEntityAdapter({
|
|
52
57
|
selectId: (toast) => toast.id,
|
|
@@ -1520,7 +1525,9 @@ const mediaLibrarySlice = toolkit.createSlice({
|
|
|
1520
1525
|
state.unclassifiedFiles = {
|
|
1521
1526
|
list: [...action.payload.result.data],
|
|
1522
1527
|
page: action.payload.result.page,
|
|
1523
|
-
totalPages:
|
|
1528
|
+
totalPages: action.payload.result.limit === null
|
|
1529
|
+
? 1
|
|
1530
|
+
: Math.ceil(action.payload.result.cnt / action.payload.result.limit),
|
|
1524
1531
|
};
|
|
1525
1532
|
state.nbResults = 0;
|
|
1526
1533
|
})
|