Merge branch 'main' of https://framagit.org/isUnknown/pdc-b2b-project-management-platform
* 'main' of https://framagit.org/isUnknown/pdc-b2b-project-management-platform: clientBriefPdf => pdf clientBriefImages => moodboard # Conflicts: # public/content/projects/1_miss-dior-blooming-bouquet/1_client-brief/client-brief.txt
This commit is contained in:
commit
9d6ee634fb
10 changed files with 17 additions and 17 deletions
|
|
@ -34,9 +34,9 @@ function changeStep(stepName) {
|
|||
}
|
||||
|
||||
function setInitialStep() {
|
||||
const hasPDF = page.value.content.clientbriefpdf.length !== 0;
|
||||
const hasPDF = page.value.content.pdf.length !== 0;
|
||||
const hasImages =
|
||||
page.value.content.clientbriefimages.length !== 0 ||
|
||||
page.value.content.moodboard.length !== 0 ||
|
||||
page.value.content.description.length !== 0;
|
||||
const isEmpty = !hasPDF && !hasImages;
|
||||
if (isEmpty) return "Intro";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue