diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 3095c9c74..b4fabf9e9 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -10,7 +10,7 @@ jobs: - uses: actions/checkout@v6 - uses: valitydev/action-frontend/setup-install@v3 - name: Build - run: npm run build -- --define "SENTRY_DSN='${SENTRY_DSN}'" + run: npm run build -- --define "SENTRY_DSN='${SENTRY_DSN}'" --define "SENTRY_RELEASE='${GITHUB_SHA}'" env: SENTRY_DSN: ${{ secrets.SENTRY_DSN }} - name: Optimize i18n @@ -22,6 +22,7 @@ jobs: SENTRY_ORG: ${{ secrets.SENTRY_ORG }} SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }} with: + environment: production sourcemaps: ./dist/browser set_commits: skip - name: Remove source maps diff --git a/src/app/sections/organization-section/organization-details/invitations/invitations.component.html b/src/app/sections/organization-section/organization-details/invitations/invitations.component.html index 4528a5779..50e5f69ce 100644 --- a/src/app/sections/organization-section/organization-details/invitations/invitations.component.html +++ b/src/app/sections/organization-section/organization-details/invitations/invitations.component.html @@ -7,11 +7,11 @@ fxLayout="column" fxLayoutGap="32px" > -
+ @if (organization$ | async; as organization) { @if (isLoading$ | async) { diff --git a/src/components/nested-table/nested-table.component.html b/src/components/nested-table/nested-table.component.html index 19376d38c..70f14e55d 100644 --- a/src/components/nested-table/nested-table.component.html +++ b/src/components/nested-table/nested-table.component.html @@ -67,11 +67,11 @@ } + } - - - @if (footerTemplates) { - - } + + + @if (footerTemplates) { + } diff --git a/src/globals.d.ts b/src/globals.d.ts index 8bf64a771..749d3ab98 100644 --- a/src/globals.d.ts +++ b/src/globals.d.ts @@ -1 +1,2 @@ declare const SENTRY_DSN: string; +declare const SENTRY_RELEASE: string; diff --git a/src/main.ts b/src/main.ts index e715c1e4c..0e20a876e 100644 --- a/src/main.ts +++ b/src/main.ts @@ -12,6 +12,7 @@ if (environment.production) { if (SENTRY_DSN) { Sentry.init({ dsn: SENTRY_DSN, + release: typeof SENTRY_RELEASE === 'undefined' ? undefined : SENTRY_RELEASE, environment: environment.production ? 'production' : 'development', integrations: [ Sentry.browserTracingIntegration(),