From 58408186aa5b1472f99cfab6ecacb1f8beafabfc Mon Sep 17 00:00:00 2001 From: John Obelenus Date: Tue, 14 Jan 2025 15:26:45 -0500 Subject: [PATCH] FuncUpdated should not navigate. Also icon button disabling --- app/web/src/components/AssetDetailIntrinsicInput.vue | 1 + app/web/src/components/DetailsPanelMenuIcon.vue | 2 ++ app/web/src/store/func/funcs.store.ts | 8 -------- 3 files changed, 3 insertions(+), 8 deletions(-) diff --git a/app/web/src/components/AssetDetailIntrinsicInput.vue b/app/web/src/components/AssetDetailIntrinsicInput.vue index f376e7e39a..538c8b8f35 100644 --- a/app/web/src/components/AssetDetailIntrinsicInput.vue +++ b/app/web/src/components/AssetDetailIntrinsicInput.vue @@ -43,6 +43,7 @@ /> @@ -12,5 +13,6 @@ import { IconButton } from "@si/vue-lib/design-system"; defineProps({ selected: { type: Boolean }, + disabled: { type: Boolean, default: false }, }); diff --git a/app/web/src/store/func/funcs.store.ts b/app/web/src/store/func/funcs.store.ts index 8bdd431708..c406058a38 100644 --- a/app/web/src/store/func/funcs.store.ts +++ b/app/web/src/store/func/funcs.store.ts @@ -890,14 +890,6 @@ export const useFuncStore = () => { bindings.codegenBindings; this.managementBindings[data.funcSummary.funcId] = bindings.managementBindings; - - if ( - metadata.actor !== "System" && - metadata.actor.User === authStore.userPk - ) { - const assetStore = useAssetStore(selectedChangeSetId); - assetStore.setFuncSelection(data.funcSummary.funcId); - } }, }, {