Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
chore: fix task run session display (#12922)
boojackd5fb7a4808c1
diff --git a/frontend/src/components/IssueV1/components/TaskRunSection/TaskRunSession/TaskRunSession.vue b/frontend/src/components/IssueV1/components/TaskRunSection/TaskRunSession/TaskRunSession.vueindex af00db94cd..e370c91e02 100644--- a/frontend/src/components/IssueV1/components/TaskRunSection/TaskRunSession/TaskRunSession.vue+++ b/frontend/src/components/IssueV1/components/TaskRunSection/TaskRunSession/TaskRunSession.vue@@ -27,25 +27,23 @@ const props = defineProps<{const isLoading = ref(false);+const showSessionTables = computed(+ () => props.taskRun.status === TaskRun_Status.RUNNING+);+const taskRunSession = computedAsync(- async () => {+ () => {if (!showSessionTables.value) {return undefined;}-- try {- const session = await rolloutServiceClient.getTaskRunSession(- {- parent: props.taskRun.name,- },- {- silent: true,- }- );- return session;- } catch (error) {- return undefined;- }+ return rolloutServiceClient.getTaskRunSession(+ {+ parent: props.taskRun.name,+ },+ {+ silent: true,+ }+ );},undefined,{@@ -53,9 +51,5 @@ const taskRunSession = computedAsync(});-const showSessionTables = computed(- () => props.taskRun.status === TaskRun_Status.RUNNING-);-const postgresSession = computed(() => taskRunSession.value?.postgres);</script>