Add feature support for qrart (#34)
This commit is contained in:
1 parent
091fa4d18a
commit
2fe1cb4e1d
110 files changed
+5767
-334
No files matched your search
@@ -100,7 +100,9 @@ import {
|
||||
ROUTE_DISTRIBUTION_INDEX,
|
||||
ROUTE_INDEX,
|
||||
ROUTE_MIDJOURNEY_HISTORY,
|
||||
ROUTE_MIDJOURNEY_INDEX
|
||||
ROUTE_MIDJOURNEY_INDEX,
|
||||
ROUTE_QRART_INDEX,
|
||||
ROUTE_QRART_HISTORY
|
||||
} from '@/router/constants';
|
||||
import Chevron from './Chevron.vue';
|
||||
import Logo from './Logo.vue';
|
||||
@@ -152,6 +154,17 @@ export default defineComponent({
|
||||
});
|
||||
}
|
||||
|
||||
if (this.$config.navigation?.qrart) {
|
||||
links.push({
|
||||
route: {
|
||||
name: ROUTE_QRART_INDEX
|
||||
},
|
||||
displayName: this.$t('common.nav.qrart'),
|
||||
icon: 'fa-solid fa-qrcode',
|
||||
routes: [ROUTE_QRART_INDEX, ROUTE_QRART_HISTORY]
|
||||
});
|
||||
}
|
||||
|
||||
return {
|
||||
links,
|
||||
activeIndex: this.$route.name as string
|
||||
|
||||
Reference in new issue
Block a user