Form validation, navbar improvements, logout functionality, order cancelling

This commit is contained in:
2024-07-03 09:36:40 +02:00
parent 673eb10b7b
commit 200242252c
8 changed files with 43 additions and 23 deletions

View File

@@ -12,6 +12,7 @@ export const useSiteControlStore = defineStore('siteControl', () => {
const isDarkTheme = ref<boolean>(false);
const isLoading = ref<boolean>(true);
function switchToFrom() {
if(!isForm.value) {
isForm.value = true;

View File

@@ -4,6 +4,7 @@ import { ref } from 'vue'
export const useUserStore = defineStore('user', () => {
const username = ref<string>();
const logoutButtonText = ref<string>();
return {username};
return {username, logoutButtonText};
})