diff --git a/src/components/ui/VnSubToolBar.vue b/src/components/ui/VnSubToolBar.vue new file mode 100644 index 000000000..81a1820f1 --- /dev/null +++ b/src/components/ui/VnSubToolBar.vue @@ -0,0 +1,21 @@ + + + diff --git a/src/components/ui/vnSubToolBar.vue b/src/components/ui/vnSubToolBar.vue deleted file mode 100644 index 31c67cf63..000000000 --- a/src/components/ui/vnSubToolBar.vue +++ /dev/null @@ -1,32 +0,0 @@ - - - diff --git a/src/pages/Claim/Card/ClaimCard.vue b/src/pages/Claim/Card/ClaimCard.vue index 41e4a46cb..2c0642509 100644 --- a/src/pages/Claim/Card/ClaimCard.vue +++ b/src/pages/Claim/Card/ClaimCard.vue @@ -7,8 +7,8 @@ import { computed } from 'vue'; import { useI18n } from 'vue-i18n'; import { useRoute } from 'vue-router'; import ClaimDescriptor from './ClaimDescriptor.vue'; +import VnSubToolBar from 'src/components/ui/VnSubToolBar.vue'; -import { onMounted, onUnmounted } from 'vue'; const stateStore = useStateStore(); const { t } = useI18n(); const route = useRoute(); @@ -22,18 +22,6 @@ const $props = defineProps({ const entityId = computed(() => { return $props.id || route.params.id; }); - -onMounted(() => { - console.log('MOUNTED', stateStore.isSubToolbarShown()); - stateStore.toggleSubToolbar(); - console.log('MOUNTED', stateStore.isSubToolbarShown()); -}); - -onUnmounted(() => { - console.log('MOUNTED', stateStore.isSubToolbarShown()); - stateStore.toggleSubToolbar(); - console.log('MOUNTED', stateStore.isSubToolbarShown()); -});