Skip to content

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

fix: update statement only when creating task (#5231)

boojack92a21ef6d5cf
diff --git a/frontend/src/components/Issue/IssueTaskStatementPanel.vue b/frontend/src/components/Issue/IssueTaskStatementPanel.vue
index 99612f5276..05ea5092ee 100644
--- a/frontend/src/components/Issue/IssueTaskStatementPanel.vue
+++ b/frontend/src/components/Issue/IssueTaskStatementPanel.vue
@@ -423,8 +423,12 @@ watch(
if (sheetId) {
const statement = (await sheetStore.getOrFetchSheetById(sheetId))
.statement;
+ // Update statement in the editor.
state.editStatement = statement;
- updateStatement(state.editStatement);
+ // Only update statement when creating issue.
+ if (create.value) {
+ updateStatement(statement);
+ }
}
}
},