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