X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/38d27e9783f7f760cee84cc225e86144069848c4..5fa710bf0218bd474233fd5867b15cc6622e6b31:/src/store/collection-panel/collection-panel-reducer.ts diff --git a/src/store/collection-panel/collection-panel-reducer.ts b/src/store/collection-panel/collection-panel-reducer.ts index a6aa87bd..6afba66c 100644 --- a/src/store/collection-panel/collection-panel-reducer.ts +++ b/src/store/collection-panel/collection-panel-reducer.ts @@ -7,12 +7,10 @@ import { CollectionResource } from "models/collection"; export interface CollectionPanelState { item: CollectionResource | null; - loadBigCollections: boolean; } const initialState = { item: null, - loadBigCollections: false, }; export const collectionPanelReducer = (state: CollectionPanelState = initialState, action: CollectionPanelAction) => @@ -21,8 +19,5 @@ export const collectionPanelReducer = (state: CollectionPanelState = initialStat SET_COLLECTION: (item) => ({ ...state, item, - loadBigCollections: false, }), - LOAD_COLLECTION_SUCCESS: ({ item }) => ({ ...state, item }), - LOAD_BIG_COLLECTIONS: (loadBigCollections) => ({ ...state, loadBigCollections}), });