From c607e4b9b53f73cd97f65d0145f3a75103f38973 Mon Sep 17 00:00:00 2001 From: Arnaud AMBROSELLI Date: Tue, 7 Nov 2023 14:25:39 +0100 Subject: [PATCH 1/2] =?UTF-8?q?fix(dashboard):=20retire=20la=20banni=C3=A8?= =?UTF-8?q?re?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dashboard/src/components/VersionOutdatedAlert.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dashboard/src/components/VersionOutdatedAlert.js b/dashboard/src/components/VersionOutdatedAlert.js index 594162ff6..d5f744ccb 100644 --- a/dashboard/src/components/VersionOutdatedAlert.js +++ b/dashboard/src/components/VersionOutdatedAlert.js @@ -7,6 +7,8 @@ export default function VersionOutdatedAlert() { const apiVersion = useRecoilValue(apiVersionState); const minimumDashboardVersion = useRecoilValue(minimumDashboardVersionState); + return null; + if (!apiVersion || (compare(apiVersion, VERSION, '<=') && (!minimumDashboardVersion || compare(minimumDashboardVersion, VERSION, '<=')))) { return null; } From 08b4da8c25b4fbd47c2a6611a580e0e7ac822990 Mon Sep 17 00:00:00 2001 From: Arnaud AMBROSELLI Date: Tue, 7 Nov 2023 14:27:41 +0100 Subject: [PATCH 2/2] fix: remove sentry --- dashboard/Dockerfile | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/dashboard/Dockerfile b/dashboard/Dockerfile index efe13e1fa..58fe67108 100644 --- a/dashboard/Dockerfile +++ b/dashboard/Dockerfile @@ -17,11 +17,12 @@ COPY --chown=1000:1000 dashboard/. . ENV NODE_ENV=production RUN --mount=type=secret,id=sentry_auth_token \ - yarn build; \ - if [ -f "/run/secrets/sentry_auth_token" ]; then \ - export SENTRY_AUTH_TOKEN=$(cat /run/secrets/sentry_auth_token); \ - yarn sentry:sourcemaps; \ - fi + yarn build; + # yarn build; \ + # if [ -f "/run/secrets/sentry_auth_token" ]; then \ + # export SENTRY_AUTH_TOKEN=$(cat /run/secrets/sentry_auth_token); \ + # yarn sentry:sourcemaps; \ + # fi FROM ghcr.io/socialgouv/docker/nginx4spa:7.0.1