This commit is contained in:
isUnknown 2024-12-19 19:27:38 +01:00
parent 6d70187cb9
commit c578538fe0
10 changed files with 195 additions and 107 deletions

View file

@ -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 };
});