diff --git a/src-ui/src/app/components/common/system-status-dialog/system-status-dialog.component.html b/src-ui/src/app/components/common/system-status-dialog/system-status-dialog.component.html index df3b6940d..f0e1081b2 100644 --- a/src-ui/src/app/components/common/system-status-dialog/system-status-dialog.component.html +++ b/src-ui/src/app/components/common/system-status-dialog/system-status-dialog.component.html @@ -46,14 +46,14 @@
{{status.database.type}}
Status
-
+
+ @if (status.database.status === 'OK') { {{status.database.url}} @@ -64,7 +64,7 @@
Migration Status
-
+
+
@@ -97,14 +97,14 @@
Redis Status
-
+
+ @if (status.tasks.redis_status === 'OK') { {{status.tasks.redis_url}} @@ -115,14 +115,14 @@
Celery Status
-
+
+ @if (status.tasks.celery_status === 'OK') { {{status.tasks.celery_url}} @@ -145,7 +145,7 @@
Search Index
-
+
+ @if (currentUserIsSuperUser) { @if (isRunning(PaperlessTaskName.IndexOptimize)) {
} @else { -
+
+ } }
@@ -177,7 +177,7 @@
Classifier
-
+
+ @if (currentUserIsSuperUser) { @if (isRunning(PaperlessTaskName.TrainClassifier)) {
} @else { -
+
+ } }
@@ -211,7 +211,7 @@
Sanity Checker
-
+
+ @if (currentUserIsSuperUser) { @if (isRunning(PaperlessTaskName.SanityCheck)) {
} @else { -
+
+ } }
@@ -251,7 +251,7 @@ }