Skip to content

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

Show database name field for bb.task.database.restore similar to bb.task.database.create

天舟9fedfb6e750e
diff --git a/frontend/src/components/IssueSidebar.vue b/frontend/src/components/IssueSidebar.vue
index 98d8c3c0a5..b014859800 100644
--- a/frontend/src/components/IssueSidebar.vue
+++ b/frontend/src/components/IssueSidebar.vue
@@ -295,7 +295,10 @@ export default {
}
const stage = props.selectedStage as Stage;
- if (stage.taskList[0].type == "bb.task.database.create") {
+ if (
+ stage.taskList[0].type == "bb.task.database.create" ||
+ stage.taskList[0].type == "bb.task.database.restore"
+ ) {
if (props.create) {
const stage = props.selectedStage as StageCreate;
return stage.taskList[0].databaseName;