mirror of
https://github.com/qishibo/AnotherRedisDesktopManager.git
synced 2026-02-01 17:27:13 +00:00
fix #496 edit directly when connection is closed
This commit is contained in:
parent
01f2539891
commit
d5a74a3f61
@ -85,6 +85,11 @@ export default {
|
||||
this.$emit('refreshConnection');
|
||||
},
|
||||
showEditConnection() {
|
||||
// connection is cloesd, do not display confirm
|
||||
if (!this.client) {
|
||||
return this.$refs.editConnectionDialog.show();
|
||||
}
|
||||
|
||||
this.$confirm(
|
||||
this.$t('message.close_to_edit_connection'),
|
||||
{ type: 'warning' },
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user