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/esm.js CHANGED
@@ -331,6 +331,7 @@ const fetchBookableAsset = createAsyncThunk('BookableAsset/fetchBookableAsset',
331
331
  type: 'bookableAsset',
332
332
  format: 'raw-list',
333
333
  limit: 50,
334
+ public: true,
334
335
  };
335
336
  return yield extra.jApi.article.list(filterSpec);
336
337
  }));
@@ -399,7 +400,11 @@ const initialState$j = {
399
400
  form: initForm,
400
401
  };
401
402
  const fetchReservation = createAsyncThunk('Reservation/fetchReservation', (viewMode, { extra }) => __awaiter(void 0, void 0, void 0, function* () {
402
- const filterSpec = { format: 'raw-list', limit: 50, viewMode };
403
+ const filterSpec = {
404
+ format: 'raw-list',
405
+ limit: 50,
406
+ viewMode: viewMode === 'history' ? 'history' : undefined,
407
+ };
403
408
  return yield extra.jApi.assetReservation.getList(filterSpec);
404
409
  }));
405
410
  const ReservationSlice = createSlice({