} from 'store/favorite-panel/favorite-panel-action';
import {
getProjectPanelCurrentUuid,
} from 'store/favorite-panel/favorite-panel-action';
import {
getProjectPanelCurrentUuid,
projectPanelActions,
setIsProjectPanelTrashed,
} from 'store/project-panel/project-panel-action';
projectPanelActions,
setIsProjectPanelTrashed,
} from 'store/project-panel/project-panel-action';
(project: GroupContentsResource | string) =>
async (dispatch: Dispatch<any>) => {
const uuid = typeof project === 'string' ? project : project.uuid;
(project: GroupContentsResource | string) =>
async (dispatch: Dispatch<any>) => {
const uuid = typeof project === 'string' ? project : project.uuid;
dispatch(loadDetailsPanel(uuid));
if (typeof project !== 'string') {
dispatch(updateResources([project]));
dispatch(loadDetailsPanel(uuid));
if (typeof project !== 'string') {
dispatch(updateResources([project]));