Merge branch '22269-salt-urls'
[arvados.git] / services / workbench2 / src / store / project-panel / project-panel.ts
1 // Copyright (C) The Arvados Authors. All rights reserved.
2 //
3 // SPDX-License-Identifier: AGPL-3.0
4
5 import { getProperty } from "store/properties/properties";
6 import { RootState } from "store/store";
7
8 export const PROJECT_PANEL_CURRENT_UUID = "projectPanelCurrentUuid";
9 export const IS_PROJECT_PANEL_TRASHED = "isProjectPanelTrashed";
10
11 export const getProjectPanelCurrentUuid = (state: RootState) => getProperty<string>(PROJECT_PANEL_CURRENT_UUID)(state.properties);