feat: Upload Navbar done.

This commit is contained in:
chiayin
2024-01-08 09:12:32 +08:00
parent 0535cb5a91
commit 080eb6ae95

View File

@@ -4,7 +4,7 @@
<div class="flex justify-between items-center flex-wrap" v-show="showNavbarBreadcrumb">
<div class="flex flex-1 items-center">
<!-- Files -->
<router-link to="/files" class="mr-4" v-if="navViewName !== 'FILES'" id="backPage">
<router-link to="/files" class="mr-4" v-if="showIcon" id="backPage">
<span class="material-symbols-outlined text-neutral-10 leading-loose">
arrow_back
</span>
@@ -101,6 +101,12 @@ export default {
case 'CheckConformance':
return this.conformanceFilterTempCheckId || this.conformanceLogTempCheckId ? false : true;
}
},
showIcon: function() {
let result = true;
if(this.navViewName === 'FILES') result = false;
else if(this.navViewName === 'UPLOAD') result = false;
return result;
}
},
watch: {
@@ -160,9 +166,6 @@ export default {
break;
}
break;
case 'UPLOAD':
this.showNavbarBreadcrumb = false;
break;
}
// if(this.navViewName === 'DISCOVER') {
// if(name === 'Map' || name === 'CheckMap') this.isActive = 'MAP';