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 CHANGED
@@ -1493,10 +1493,10 @@ const mediaLibrarySlice = toolkit.createSlice({
1493
1493
  return Object.assign(Object.assign({}, state), { page: action.payload });
1494
1494
  },
1495
1495
  setFolderList(state, action) {
1496
- return Object.assign(Object.assign({}, state), { entities: [...action.payload] });
1496
+ return Object.assign(Object.assign({}, state), { folders: action.payload });
1497
1497
  },
1498
1498
  setFileUnclassifiedList(state, action) {
1499
- return Object.assign(Object.assign({}, state), { entitiesUnclassified: Object.assign({}, action.payload) });
1499
+ return Object.assign(Object.assign({}, state), { unclassifiedFiles: action.payload });
1500
1500
  },
1501
1501
  },
1502
1502
  extraReducers: (builder) => {
@@ -1795,7 +1795,7 @@ const fetchRecentFiles = toolkit.createAsyncThunk('/fetchRecentFiles', (_, { ext
1795
1795
  const jApi = extra.jApi;
1796
1796
  const state = getState();
1797
1797
  const filters = state.wedoc.tab === 'my-documents' ? [{ name: 'idUser', value: '0' }] : [];
1798
- return yield jApi.wedoc.getFiles(Object.assign(Object.assign({}, initialQuery), { filters, limit: 4 }));
1798
+ return yield jApi.wedoc.getFiles(Object.assign(Object.assign({}, initialQuery), { filters, limit: 3 }));
1799
1799
  }));
1800
1800
 
1801
1801
  const initialState$8 = {