mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-10-25 09:34:18 +08:00
Feat CB-3293 node info transformer (#1778)
* CB-3293 feat: node info transformer * CB-3293 feat: hide resource extension in nav-tree * CB-3293 feat: rename resources without extension * CB-3293 fix: resource folder renaming * CB-3293 fix: add resource delete confirmation * CB-3293 chore: remove unused code * CB-3293 fix: resource deletion * CB-2393 chore: unify delete confirmation dialog --------- Co-authored-by: dariamarutkina <125263541+dariamarutkina@users.noreply.github.com>
This commit is contained in:
@@ -144,7 +144,7 @@ export class SqlEditorBootstrap extends Bootstrap {
|
||||
const result = await this.commonDialogService.open(RenameDialog, {
|
||||
value: regexp?.[1] ?? name,
|
||||
objectName: name,
|
||||
icon: '/icons/sql_script_m.svg',
|
||||
icon: dataSource.icon,
|
||||
validation: name =>
|
||||
!this.sqlEditorTabService.sqlEditorTabs.some(
|
||||
tab => tab.handlerState.order !== state.order && this.sqlEditorService.getName(tab.handlerState) === name.trim(),
|
||||
|
||||
Reference in New Issue
Block a user