Added Archived
Changed fucntions baseurl
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
import axios from "axios";
|
import axios from "axios";
|
||||||
import dayjs from "dayjs";
|
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 = () => {
|
export const useFunctions = () => {
|
||||||
const supabase = useSupabaseClient()
|
const supabase = useSupabaseClient()
|
||||||
|
|||||||
@@ -2146,6 +2146,15 @@ export const useDataStore = defineStore('data', () => {
|
|||||||
oldVal = "Ja"
|
oldVal = "Ja"
|
||||||
newVal = "Nein"
|
newVal = "Nein"
|
||||||
}
|
}
|
||||||
|
} else if(key === "archived") {
|
||||||
|
name = "Archiviert"
|
||||||
|
if(newVal === true){
|
||||||
|
oldVal = "Nein"
|
||||||
|
newVal = "Ja"
|
||||||
|
} else if(newVal === false) {
|
||||||
|
oldVal = "Ja"
|
||||||
|
newVal = "Nein"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user