Added Archived

Changed fucntions baseurl
This commit is contained in:
2025-01-31 11:15:35 +01:00
parent 148619eb05
commit 66feca3323
2 changed files with 10 additions and 1 deletions

View File

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

View File

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