From d651e3132f69c1aa99aaffe6b489a8a1f83cd7eb Mon Sep 17 00:00:00 2001
From: shamoon <4887959+shamoon@users.noreply.github.com>
Date: Tue, 13 Feb 2024 08:03:57 -0800
Subject: [PATCH] Fix unapplied migrations display
---
src-ui/messages.xlf | 17 +++++------------
.../system-status-dialog.component.html | 16 +++-------------
2 files changed, 8 insertions(+), 25 deletions(-)
diff --git a/src-ui/messages.xlf b/src-ui/messages.xlf
index d98d87fb7..338eeda43 100644
--- a/src-ui/messages.xlf
+++ b/src-ui/messages.xlf
@@ -4160,7 +4160,7 @@
src/app/components/common/system-status-dialog/system-status-dialog.component.html
- 134
+ 124
@@ -4492,39 +4492,32 @@
68
-
- Pending Migrations:
-
- src/app/components/common/system-status-dialog/system-status-dialog.component.html
- 78
-
-
Tasks
src/app/components/common/system-status-dialog/system-status-dialog.component.html
- 95
+ 85
Redis URL
src/app/components/common/system-status-dialog/system-status-dialog.component.html
- 99
+ 89
Redis Status
src/app/components/common/system-status-dialog/system-status-dialog.component.html
- 101
+ 91
Celery Status
src/app/components/common/system-status-dialog/system-status-dialog.component.html
- 110
+ 100
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 8fcec21b0..df32d9fdc 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
@@ -63,27 +63,17 @@
{{status.database.migration_status.unapplied_migrations.length}} Pending
}
- Latest Migration: {{status.database.migration_status.latest_migration}}
+ Latest Migration:
{{status.database.migration_status.latest_migration}}
@if (status.database.migration_status.unapplied_migrations.length > 0) {
- Pending Migrations:
+ Pending Migrations:
@for (migration of status.database.migration_status.unapplied_migrations; track migration) {
- - {{migration}}
+ - {{migration}}
}
}
- @if (status.database.migration_status.unapplied_migrations.length > 0) {
- Pending Migrations:
-
-
- @for (migration of status.database.migration_status.unapplied_migrations; track migration) {
- - {{migration}}
- }
-
-
- }