import { ServiceRepository } from "services/services";
import { pluginConfig } from "plugins";
import { snackbarActions, SnackbarKind } from "store/snackbar/snackbar-actions";
-import { USERS_PANEL_LABEL, MY_ACCOUNT_PANEL_LABEL, INSTANCE_TYPES_PANEL_LABEL, VIRTUAL_MACHINES_USER_PANEL_LABEL, VIRTUAL_MACHINES_ADMIN_PANEL_LABEL, REPOSITORIES_PANEL_LABEL } from "store/breadcrumbs/breadcrumbs-actions";
+import { USERS_PANEL_LABEL, MY_ACCOUNT_PANEL_LABEL, INSTANCE_TYPES_PANEL_LABEL, VIRTUAL_MACHINES_ADMIN_PANEL_LABEL, REPOSITORIES_PANEL_LABEL } from "store/breadcrumbs/breadcrumbs-actions";
export const navigationNotAvailable = (id: string) =>
snackbarActions.OPEN_SNACKBAR({
return;
case ResourceKind.WORKFLOW:
dispatch<any>(pushOrGoto(getNavUrl(uuid, getState().auth)));
- // dispatch<any>(openDetailsPanel(uuid));
return;
}
case INSTANCE_TYPES_PANEL_LABEL:
dispatch(navigateToInstanceTypes);
return;
- case VIRTUAL_MACHINES_USER_PANEL_LABEL:
- dispatch(navigateToUserVirtualMachines);
- return;
case VIRTUAL_MACHINES_ADMIN_PANEL_LABEL:
dispatch(navigateToAdminVirtualMachines);
return;