jamespot-front-business 1.1.72 → 1.1.73

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
@@ -339,6 +339,7 @@ const fetchBookableAsset = toolkit.createAsyncThunk('BookableAsset/fetchBookable
339
339
  type: 'bookableAsset',
340
340
  format: 'raw-list',
341
341
  limit: 50,
342
+ public: true,
342
343
  };
343
344
  return yield extra.jApi.article.list(filterSpec);
344
345
  }));
@@ -407,7 +408,11 @@ const initialState$j = {
407
408
  form: initForm,
408
409
  };
409
410
  const fetchReservation = toolkit.createAsyncThunk('Reservation/fetchReservation', (viewMode, { extra }) => __awaiter(void 0, void 0, void 0, function* () {
410
- const filterSpec = { format: 'raw-list', limit: 50, viewMode };
411
+ const filterSpec = {
412
+ format: 'raw-list',
413
+ limit: 50,
414
+ viewMode: viewMode === 'history' ? 'history' : undefined,
415
+ };
411
416
  return yield extra.jApi.assetReservation.getList(filterSpec);
412
417
  }));
413
418
  const ReservationSlice = toolkit.createSlice({