Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

fix: task status icon style (#15532)

boojack832f6121c97a
diff --git a/frontend/src/components/Changelog/ChangelogDetail.vue b/frontend/src/components/Changelog/ChangelogDetail.vue
index 821599d4fa..820846ff0d 100644
--- a/frontend/src/components/Changelog/ChangelogDetail.vue
+++ b/frontend/src/components/Changelog/ChangelogDetail.vue
@@ -164,6 +164,7 @@ import {
getStatementSize,
hasProjectPermissionV2,
getAffectedTableDisplayName,
+ wrapRefAsPromise,
} from "@/utils";
import {
getAffectedTablesOfChangelog,
@@ -274,10 +275,7 @@ const copySchema = async () => {
watch(
[database.value.name, changelogName],
async () => {
- if (!ready.value) {
- return;
- }
-
+ await wrapRefAsPromise(ready, true);
state.loading = true;
await Promise.all([
dbSchemaStore.getOrFetchDatabaseMetadata({
diff --git a/frontend/src/components/IssueV1/components/TaskStatusIcon.vue b/frontend/src/components/IssueV1/components/TaskStatusIcon.vue
index 7bfd44e627..d4e4dff094 100644
--- a/frontend/src/components/IssueV1/components/TaskStatusIcon.vue
+++ b/frontend/src/components/IssueV1/components/TaskStatusIcon.vue
@@ -90,7 +90,7 @@ const classes = computed((): string => {
case Task_Status.NOT_STARTED:
case Task_Status.STATUS_UNSPECIFIED:
if (!isCreating.value) {
- return "bg-white border-2 border-info rounded-full text-info";
+ return "bg-white border-2 border-info text-info rounded-full";
}
return "bg-white border-2 border-control rounded-full";
case Task_Status.PENDING:
@@ -101,11 +101,11 @@ const classes = computed((): string => {
case Task_Status.RUNNING:
return "bg-white border-2 border-info text-info rounded-full";
case Task_Status.SKIPPED:
- return "bg-gray-200 text-gray-500";
+ return "bg-gray-200 text-gray-500 rounded-full";
case Task_Status.DONE:
- return "bg-success text-white";
+ return "bg-success text-white rounded-full";
case Task_Status.FAILED:
- return "bg-error text-white";
+ return "bg-error text-white rounded-full";
default:
return "";
}