diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ca5cf4e..55f849b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -54,7 +54,7 @@ jobs: run: cd viewer && npm ci - name: Build Angular app - run: cd viewer && npm run timestamp && npm run build -- --configuration production + run: cd viewer && npm run build -- --configuration production - name: upload artifacts uses: actions/upload-artifact@v3 diff --git a/viewer/package.json b/viewer/package.json index f1c636c..82dc56a 100644 --- a/viewer/package.json +++ b/viewer/package.json @@ -5,7 +5,7 @@ "ng": "ng", "prestart": "npm run merge", "start": "ng serve", - "prebuild": "npm run merge", + "prebuild": "npm run merge && npm run timestamp", "build": "ng build", "watch": "ng build --watch --configuration development", "test": "ng test", diff --git a/viewer/src/app/credential-profile/credential-profile.component.ts b/viewer/src/app/credential-profile/credential-profile.component.ts index 3515fa7..81e9db0 100644 --- a/viewer/src/app/credential-profile/credential-profile.component.ts +++ b/viewer/src/app/credential-profile/credential-profile.component.ts @@ -6,7 +6,7 @@ import { AppService, Resource } from '../app.service'; import { Format, Resources } from '../resources'; import { Filter, FilterComponent } from '../filter/filter.component'; import { MatPaginator } from '@angular/material/paginator'; -import { environment } from 'src/environments/environment.development'; +import { environment } from 'src/environments/environment'; class ColumnHeader { key!: string;