From 0535cb5a91f6afe9a16ca11aa895bccffc63ebbd Mon Sep 17 00:00:00 2001 From: chiayin Date: Fri, 5 Jan 2024 17:01:44 +0800 Subject: [PATCH] feat: Upload Navbar done. --- src/components/Navbar.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/components/Navbar.vue b/src/components/Navbar.vue index c05c01f..85e79e8 100644 --- a/src/components/Navbar.vue +++ b/src/components/Navbar.vue @@ -111,7 +111,7 @@ export default { }, mounted() { if(this.$route.params.type === 'filter') this.createFilterId= this.$route.params.fileId; - this.showNavbarBreadcrumb = this.$route.matched[0].name !== ('AuthContainer')? true : false; + this.showNavbarBreadcrumb = this.$route.matched[0].name !== ('AuthContainer') ? true : false; this.getNavViewName(); }, methods: { @@ -160,6 +160,9 @@ export default { break; } break; + case 'UPLOAD': + this.showNavbarBreadcrumb = false; + break; } // if(this.navViewName === 'DISCOVER') { // if(name === 'Map' || name === 'CheckMap') this.isActive = 'MAP';