Fix form password

This commit is contained in:
Julien Nahum
2024-01-16 13:27:54 +01:00
parent ac82040080
commit f156f52608
3 changed files with 33 additions and 16 deletions

View File

@@ -50,6 +50,11 @@ export const useFormsStore = defineStore('forms', () => {
return useOpnApi('/forms/' + slug)
}
const publicFetch = (slug) => {
contentStore.startLoading()
return opnFetch('/forms/' + slug)
}
const allTags = computed(() => {
let tags = []
contentStore.getAll.value.forEach((form) => {
@@ -69,6 +74,7 @@ export const useFormsStore = defineStore('forms', () => {
allLoaded,
allTags,
publicLoad,
publicFetch,
loadAll,
load,
}