From df147e0b83a1df2d9af1be11415e1c643f2bfe09 Mon Sep 17 00:00:00 2001 From: nsemets Date: Thu, 11 Dec 2025 11:32:14 +0200 Subject: [PATCH] fix(ssr): disabled ssr --- angular.json | 7 +------ .../institutions-summary.component.html | 2 +- tsconfig.app.json | 2 +- 3 files changed, 3 insertions(+), 8 deletions(-) diff --git a/angular.json b/angular.json index b87b677be..a00a79554 100644 --- a/angular.json +++ b/angular.json @@ -62,12 +62,7 @@ "node_modules/ngx-markdown-editor/assets/highlight.js/highlight.min.js", "node_modules/ngx-markdown-editor/assets/marked.min.js", "src/assets/js/ace/snippetsMarkdown.js" - ], - "server": "src/main.server.ts", - "outputMode": "server", - "ssr": { - "entry": "src/server.ts" - } + ] }, "configurations": { "production": { diff --git a/src/app/features/admin-institutions/pages/institutions-summary/institutions-summary.component.html b/src/app/features/admin-institutions/pages/institutions-summary/institutions-summary.component.html index 2ab7923dd..19b28bce5 100644 --- a/src/app/features/admin-institutions/pages/institutions-summary/institutions-summary.component.html +++ b/src/app/features/admin-institutions/pages/institutions-summary/institutions-summary.component.html @@ -4,7 +4,7 @@ } @else {
- @if (summaryMetrics()?.reportYearmonth) { + @if (summaryMetrics().reportYearmonth) {
{{ 'adminInstitutions.summary.lastUpdated' | translate }}: {{ summaryMetrics()!.reportYearmonth + '-01' | date: 'MMMM d, y' }} diff --git a/tsconfig.app.json b/tsconfig.app.json index 0dba49a02..fa4f041fc 100644 --- a/tsconfig.app.json +++ b/tsconfig.app.json @@ -7,6 +7,6 @@ "types": ["node"], "typeRoots": ["src/@types", "node_modules/@types"] }, - "files": ["src/main.ts", "src/main.server.ts", "src/server.ts"], + "files": ["src/main.ts"], "include": ["src/**/*.d.ts"] }