Skip to content

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

chore: remove rollback switch checks (#12023)

boojack17a23a4300d2
diff --git a/frontend/src/components/IssueV1/components/Sidebar/RollbackSection/common.ts b/frontend/src/components/IssueV1/components/Sidebar/RollbackSection/common.ts
index 2186eef126..119d51b8ac 100644
--- a/frontend/src/components/IssueV1/components/Sidebar/RollbackSection/common.ts
+++ b/frontend/src/components/IssueV1/components/Sidebar/RollbackSection/common.ts
@@ -95,15 +95,6 @@ export const useRollbackContext = () => {
if (rollbackUIType.value === "NONE") {
return false;
}
- if (
- ![
- Task_Status.NOT_STARTED,
- Task_Status.PENDING,
- Task_Status.STATUS_UNSPECIFIED,
- ].includes(task.value.status)
- ) {
- return false;
- }
if (isCreating.value) {
return true;