finish client brief step

This commit is contained in:
isUnknown 2024-12-20 07:19:46 +01:00
parent e4f06ad854
commit cdeebbf8c8
11 changed files with 162 additions and 234 deletions

View file

@ -21,15 +21,6 @@ export const useBriefStore = defineStore("brief", () => {
if (response.ok) {
page.value = result;
if (redirectToParent) {
location.href =
location.origin +
"/" +
page.value.parent +
"?dialog=client-brief";
} else {
location.href = location.href + "?dialog=client-brief";
}
} else {
console.error("Error uploading file:", result.error);
}

View file

@ -11,7 +11,6 @@ export const useDialogStore = defineStore("dialog", () => {
});
function updateFile(newFile) {
console.log(newFile);
openedFile.value = newFile;
// if (!content.value.files) return;