diff --git a/composables/useFunctions.js b/composables/useFunctions.js index 5224a3d..6918d87 100644 --- a/composables/useFunctions.js +++ b/composables/useFunctions.js @@ -1,7 +1,7 @@ import axios from "axios"; import dayjs from "dayjs"; -const baseURL = "http://localhost:3333" /*"https://functions.fedeo.io"*/ +const baseURL = /*"http://localhost:3333"*/ "https://functions.fedeo.io" export const useFunctions = () => { const supabase = useSupabaseClient() diff --git a/stores/data.js b/stores/data.js index c1365f8..54755b2 100644 --- a/stores/data.js +++ b/stores/data.js @@ -2146,6 +2146,15 @@ export const useDataStore = defineStore('data', () => { oldVal = "Ja" newVal = "Nein" } + } else if(key === "archived") { + name = "Archiviert" + if(newVal === true){ + oldVal = "Nein" + newVal = "Ja" + } else if(newVal === false) { + oldVal = "Ja" + newVal = "Nein" + } }