Remove EventModel in frontend

This commit is contained in:
2024-10-12 21:00:42 +02:00
parent 6c33de3d87
commit c8d87f6643
33 changed files with 313 additions and 377 deletions

View File

@@ -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>

View File

@@ -57,7 +57,7 @@ defineProps({
<div>
<v-btn variant="flat" color="secondary">
{{ concerts.length }} {{ $t('event', concerts.length) }}
{{ $t('more') }}
</v-btn>
</div>
</div>