Merge branch '17426-plug-ins' refs #17426
[arvados-workbench2.git] / src / store / side-panel / side-panel-action.ts
1 // Copyright (C) The Arvados Authors. All rights reserved.
2 //
3 // SPDX-License-Identifier: AGPL-3.0
4
5 import { Dispatch } from 'redux';
6 import { navigateTo } from '~/store/navigation/navigation-action';
7
8 export const navigateFromSidePanel = (id: string) =>
9     (dispatch: Dispatch) => {
10         dispatch<any>(navigateTo(id));
11     };