Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
Watch task change to update the task name when switching task
天舟5d20e1c15039
diff --git a/frontend/src/views/TaskHighlightPanel.vue b/frontend/src/views/TaskHighlightPanel.vueindex 8886cab49a..28fa36e2b7 100644--- a/frontend/src/views/TaskHighlightPanel.vue+++ b/frontend/src/views/TaskHighlightPanel.vue@@ -53,7 +53,7 @@</template><script lang="ts">-import { reactive, ref, nextTick, PropType } from "vue";+import { reactive, ref, nextTick, watch, PropType } from "vue";import TaskStatusIcon from "../components/TaskStatusIcon.vue";import { activeStage } from "../utils";import { Task } from "../types";@@ -85,6 +85,13 @@ export default {name: props.task.name,});+ watch(+ () => props.task,+ (curTask, prevTask) => {+ state.name = curTask.name;+ }+ );+const clickName = () => {state.editing = true;nextTick(() => {