Skip to content

Commit

Permalink
Remove colors in header & sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
raphodn committed Jan 15, 2025
1 parent 6fd1236 commit d9b8a07
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
7 changes: 3 additions & 4 deletions src/components/Header.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
<v-btn v-else prepend-icon="mdi-magnify" to="/search" :aria-label="$t('Common.Search')">
{{ $t('Common.Search') }}
</v-btn>
<v-btn v-if="!$vuetify.display.smAndUp" color="primary" icon="mdi-tag-plus-outline" to="/prices/add/multiple" :aria-label="$t('Common.AddPrices')" />
<v-btn v-else color="primary" prepend-icon="mdi-tag-plus-outline" to="/prices/add/multiple" :aria-label="$t('Common.AddPrices')">
<v-btn v-if="!$vuetify.display.smAndUp" icon="mdi-tag-plus-outline" to="/prices/add/multiple" :aria-label="$t('Common.AddPrices')" />
<v-btn v-else prepend-icon="mdi-tag-plus-outline" to="/prices/add/multiple" :aria-label="$t('Common.AddPrices')">
{{ $t('Common.AddPrices') }}
</v-btn>
<template v-if="!username" #append>
Expand All @@ -38,7 +38,6 @@
:slim="true"
:title="item.title"
:prepend-icon="item.props['prepend-icon']"
:base-color="item.props['base-color']"
:to="item.props.to"
/>
</v-list>
Expand Down Expand Up @@ -74,7 +73,7 @@ export default {
.filter(r => r.meta && r.meta.drawerMenu)
.filter(r => this.username ? r.meta.requiresAuth !== false : !r.meta.requiresAuth)
.filter(r => !r.meta.drawerMenuConditionalDisplay || this.appStore.user[r.meta.drawerMenuConditionalDisplay])
.map((r => ({ title: this.$t(`Router.${r.meta.title}.Title`), props: { 'prepend-icon': r.meta.icon, 'base-color': r.meta.color, to: r.path }})))
.map((r => ({ title: this.$t(`Router.${r.meta.title}.Title`), props: { 'prepend-icon': r.meta.icon, to: r.path }})))
}
},
methods: {
Expand Down
4 changes: 2 additions & 2 deletions src/router.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d9b8a07

Please sign in to comment.