X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/d60348e41975a5e48f09773f4d0accec11e93da4..514574540614593941c39592d9f9972f770e0cb7:/src/store/details-panel/details-panel-action.ts diff --git a/src/store/details-panel/details-panel-action.ts b/src/store/details-panel/details-panel-action.ts index 90ca0f4f..b708ad62 100644 --- a/src/store/details-panel/details-panel-action.ts +++ b/src/store/details-panel/details-panel-action.ts @@ -5,11 +5,10 @@ import { unionize, ofType, UnionOf } from 'common/unionize'; import { RootState } from 'store/store'; import { Dispatch } from 'redux'; -import { dialogActions } from 'store/dialog/dialog-actions'; import { getResource } from 'store/resources/resources'; import { ServiceRepository } from 'services/services'; import { resourcesActions } from 'store/resources/resources-actions'; -import {snackbarActions, SnackbarKind} from 'store/snackbar/snackbar-actions'; +import { snackbarActions, SnackbarKind } from 'store/snackbar/snackbar-actions'; import { FilterBuilder } from 'services/api/filter-builder'; import { OrderBuilder } from 'services/api/order-builder'; import { CollectionResource } from 'models/collection'; @@ -25,9 +24,6 @@ export const detailsPanelActions = unionize({ export type DetailsPanelAction = UnionOf; -export const RESOURCE_PROPERTIES_FORM_NAME = 'resourcePropertiesFormName'; -export const RESOURCE_PROPERTIES_DIALOG_NAME = 'resourcePropertiesDialogName'; - export const loadDetailsPanel = (uuid: string) => (dispatch: Dispatch, getState: () => RootState) => { if (getState().detailsPanel.isOpened) { @@ -51,11 +47,6 @@ export const openDetailsPanel = (uuid?: string, tabNr: number = 0) => } }; -export const openResourcePropertiesDialog = () => - (dispatch: Dispatch) => { - dispatch(dialogActions.OPEN_DIALOG({ id: RESOURCE_PROPERTIES_DIALOG_NAME, data: { } })); - }; - export const refreshCollectionVersionsList = (uuid: string) => (dispatch: Dispatch, getState: () => RootState, services: ServiceRepository) => { services.collectionService.list({