From 058bc71630fd14de18baa43d014d9274d475bb7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E8=B4=BA?= Date: Tue, 21 Apr 2026 11:52:58 +0800 Subject: [PATCH] fix mongodb remote edit action (#12543) #### What this PR does / why we need it? #### Summary of your change #### Please indicate you've done the following: - [ ] Made sure tests are passing and test coverage is added if needed. - [ ] Made sure commit message follow the rule of [Conventional Commits specification](https://www.conventionalcommits.org/). - [ ] Considered the docs impact and opened a new docs issue or PR with docs changes if needed. --- frontend/src/views/database/mongodb/remote/index.vue | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/frontend/src/views/database/mongodb/remote/index.vue b/frontend/src/views/database/mongodb/remote/index.vue index 5873209eb..f23cce9a6 100644 --- a/frontend/src/views/database/mongodb/remote/index.vue +++ b/frontend/src/views/database/mongodb/remote/index.vue @@ -152,6 +152,12 @@ const onDelete = async (row: Database.DatabaseInfo) => { }; const buttons = [ + { + label: i18n.global.t('commons.button.edit'), + click: (row: Database.DatabaseInfo) => { + onOpenDialog('edit', row); + }, + }, { label: i18n.global.t('commons.button.unbind'), click: (row: Database.DatabaseInfo) => {