diff --git a/components/viewer/ViewProjectObj.vue b/components/viewer/ViewProjectObj.vue index 50010db..5214f7a 100644 --- a/components/viewer/ViewProjectObj.vue +++ b/components/viewer/ViewProjectObj.vue @@ -12,6 +12,7 @@ disabled: !isEnabled, notSelectable: obj.isNotSelectable || row.isInfoRow, canToggle: canToggle, + hideDisabledAddons: $props.hideDisabledAddons, }" @click="toggle" > @@ -90,6 +91,7 @@ const $props = defineProps<{ width?: string; forceWidth?: string; template?: string; + hideDisabledAddons?: boolean; }>(); const objClass = computed(() => { @@ -192,6 +194,12 @@ const decrement = () => { display: flex; flex-direction: column; + &.hideDisabledAddons { + .addon.disabled { + display: none; + } + } + .project-obj-content { overflow: auto; diff --git a/components/viewer/modal/BackpackModal.vue b/components/viewer/modal/BackpackModal.vue index dd4545b..1058d4b 100644 --- a/components/viewer/modal/BackpackModal.vue +++ b/components/viewer/modal/BackpackModal.vue @@ -9,17 +9,31 @@