diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index aa30802..6e95c05 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -56,7 +56,7 @@ deploy_preprod:
build_prod:
stage: build
only:
- - prod
+ - main
image: composer:2
script:
- apk add --no-cache nodejs npm
diff --git a/public/site/models/project.php b/public/site/models/project.php
index 1152945..df39ff1 100644
--- a/public/site/models/project.php
+++ b/public/site/models/project.php
@@ -159,7 +159,7 @@ class ProjectPage extends NotificationsPage {
"physicalSample" => "échantillon physique",
];
- return $stepsLabel[$this->currentStep()->value()];
+ return $stepsLabel[$this->currentStep()->value()] ?? "brief";
}
// public function printManagers() {
diff --git a/public/site/snippets/header.php b/public/site/snippets/header.php
index f8e4f54..a35fc34 100644
--- a/public/site/snippets/header.php
+++ b/public/site/snippets/header.php
@@ -25,8 +25,8 @@
-
-
+
+
diff --git a/vite.config.js b/vite.config.js
index c235442..154116f 100644
--- a/vite.config.js
+++ b/vite.config.js
@@ -14,7 +14,7 @@ export default defineConfig(({ mode }) => {
},
},
sourcemap: mode === 'staging',
- minify: mode === 'production' ? 'esbuild' : false,
+ minify: mode === 'production',
},
server: {
watch: {