Remove EventModel in frontend
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
<script setup lang="ts">
|
||||
import { useAccountStore } from '@/data/stores/accountStore';
|
||||
import { useBasketStore } from '@/data/stores/basketStore';
|
||||
import router from '@/plugins/router';
|
||||
|
||||
const accountStore = useAccountStore()
|
||||
const basketStore = useBasketStore()
|
||||
@@ -11,7 +10,7 @@ const basketStore = useBasketStore()
|
||||
<v-btn variant="plain" icon="mdi-magnify" to="/search" />
|
||||
|
||||
<v-btn v-if="accountStore.userAccount.id == 0" variant="plain" icon="mdi-account" to="/account/login" />
|
||||
<v-btn v-else variant="plain" icon="mdi-account" to="/account/home" />
|
||||
<v-btn v-else variant="plain" icon="mdi-account" to="/account" />
|
||||
|
||||
<div>
|
||||
<v-badge
|
||||
@@ -23,6 +22,6 @@ const basketStore = useBasketStore()
|
||||
</v-badge>
|
||||
</div>
|
||||
|
||||
<v-btn variant="plain" icon="mdi-help" to="/system/help" />
|
||||
<v-btn variant="plain" icon="mdi-cog" to="/system/preferences"/>
|
||||
<v-btn variant="plain" icon="mdi-help" to="/help" />
|
||||
<v-btn variant="plain" icon="mdi-cog" to="/preferences"/>
|
||||
</template>
|
||||
@@ -57,7 +57,7 @@ defineProps({
|
||||
|
||||
<div>
|
||||
<v-btn variant="flat" color="secondary">
|
||||
{{ concerts.length }} {{ $t('event', concerts.length) }}
|
||||
{{ $t('more') }}
|
||||
</v-btn>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user