Skip to content

Commit

Permalink
fix(dashboard): retire la bannière (#1763)
Browse files Browse the repository at this point in the history
* fix(dashboard): retire la bannière

* fix: remove sentry
  • Loading branch information
arnaudambro authored Nov 7, 2023
1 parent 067dc71 commit bbb3af3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
11 changes: 6 additions & 5 deletions dashboard/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 2 additions & 0 deletions dashboard/src/components/VersionOutdatedAlert.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit bbb3af3

Please sign in to comment.