Form validation, navbar improvements, logout functionality, order cancelling
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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};
|
||||
})
|
||||
Reference in New Issue
Block a user