Skip to content

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

fix: should not show "apply to other tasks" in tenant mode (#3735)

Liu Ji292634ddd27e
diff --git a/frontend/src/components/Issue/logic/TenantModeProvider.ts b/frontend/src/components/Issue/logic/TenantModeProvider.ts
index 9a89e890ac..f7748c87f9 100644
--- a/frontend/src/components/Issue/logic/TenantModeProvider.ts
+++ b/frontend/src/components/Issue/logic/TenantModeProvider.ts
@@ -84,7 +84,7 @@ export default defineComponent({
};
// We are never allowed to "apply statement to other stages" in tenant mode.
- const allowApplyStatementToOtherTasksOtherTasks = computed(() => false);
+ const allowApplyStatementToOtherTasks = computed(() => false);
const doCreate = () => {
const issueCreate = cloneDeep(issue.value as IssueCreate);
@@ -106,8 +106,8 @@ export default defineComponent({
allowEditStatement,
selectedStatement,
updateStatement,
- allowApplyStatementToOtherTasksOtherTasks,
- applyStatementToOtherTasksOtherTasks: errorAssertion,
+ allowApplyStatementToOtherTasks,
+ applyStatementToOtherTasks: errorAssertion,
doCreate,
};
provideIssueLogic(logic);