* '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:
Timothée Goguely 2024-10-16 15:30:59 +02:00
commit 9d6ee634fb
10 changed files with 17 additions and 17 deletions

View file

@ -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";