This commit is contained in:
parent
6d70187cb9
commit
c578538fe0
10 changed files with 195 additions and 107 deletions
|
|
@ -30,5 +30,12 @@ export const useProjectStore = defineStore("project", () => {
|
|||
}
|
||||
}
|
||||
|
||||
return { stepsLabels, setStatus };
|
||||
function isEmptyBrief(project) {
|
||||
return (
|
||||
project.currentStep === "clientBrief" &&
|
||||
project.steps[0].files.length === 0
|
||||
);
|
||||
}
|
||||
|
||||
return { stepsLabels, setStatus, isEmptyBrief };
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue