jamespot-front-business 1.1.59 → 1.1.60
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 +3 -3
- package/dist/cjs.js.map +1 -1
- package/dist/esm.js +3 -3
- package/dist/esm.js.map +1 -1
- package/package.json +2 -2
package/dist/esm.js
CHANGED
|
@@ -1485,10 +1485,10 @@ const mediaLibrarySlice = createSlice({
|
|
|
1485
1485
|
return Object.assign(Object.assign({}, state), { page: action.payload });
|
|
1486
1486
|
},
|
|
1487
1487
|
setFolderList(state, action) {
|
|
1488
|
-
return Object.assign(Object.assign({}, state), {
|
|
1488
|
+
return Object.assign(Object.assign({}, state), { folders: action.payload });
|
|
1489
1489
|
},
|
|
1490
1490
|
setFileUnclassifiedList(state, action) {
|
|
1491
|
-
return Object.assign(Object.assign({}, state), {
|
|
1491
|
+
return Object.assign(Object.assign({}, state), { unclassifiedFiles: action.payload });
|
|
1492
1492
|
},
|
|
1493
1493
|
},
|
|
1494
1494
|
extraReducers: (builder) => {
|
|
@@ -1787,7 +1787,7 @@ const fetchRecentFiles = createAsyncThunk('/fetchRecentFiles', (_, { extra, getS
|
|
|
1787
1787
|
const jApi = extra.jApi;
|
|
1788
1788
|
const state = getState();
|
|
1789
1789
|
const filters = state.wedoc.tab === 'my-documents' ? [{ name: 'idUser', value: '0' }] : [];
|
|
1790
|
-
return yield jApi.wedoc.getFiles(Object.assign(Object.assign({}, initialQuery), { filters, limit:
|
|
1790
|
+
return yield jApi.wedoc.getFiles(Object.assign(Object.assign({}, initialQuery), { filters, limit: 3 }));
|
|
1791
1791
|
}));
|
|
1792
1792
|
|
|
1793
1793
|
const initialState$8 = {
|