finish client brief step
This commit is contained in:
parent
e4f06ad854
commit
cdeebbf8c8
11 changed files with 162 additions and 234 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -11,7 +11,6 @@ export const useDialogStore = defineStore("dialog", () => {
|
|||
});
|
||||
|
||||
function updateFile(newFile) {
|
||||
console.log(newFile);
|
||||
openedFile.value = newFile;
|
||||
|
||||
// if (!content.value.files) return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue