mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-10-24 11:35:54 +08:00
dbeaver/pro#6847 fix: elements order (#3729)
* dbeaver/pro#6847 fix: elements order * fix: linting * fix: actions order * fix: actions order --------- Co-authored-by: mr-anton-t <42037741+mr-anton-t@users.noreply.github.com>
This commit is contained in:
co-authored by
mr-anton-t
parent
e31ae9a439
commit
b733f395d3
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* CloudBeaver - Cloud Database Manager
|
||||
* Copyright (C) 2020-2024 DBeaver Corp and others
|
||||
* Copyright (C) 2020-2025 DBeaver Corp and others
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0.
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -35,12 +35,7 @@ export class SqlEditorGroupTabsBootstrap extends Bootstrap {
|
||||
},
|
||||
getItems: (context, items) => [...items, ACTION_TAB_CLOSE_SQL_RESULT_GROUP],
|
||||
orderItems: (context, items) => {
|
||||
const actions = menuExtractItems(items, [ACTION_TAB_CLOSE_SQL_RESULT_GROUP]);
|
||||
|
||||
if (actions.length > 0) {
|
||||
items.push(...actions);
|
||||
}
|
||||
|
||||
items.push(...menuExtractItems(items, [ACTION_TAB_CLOSE_SQL_RESULT_GROUP]));
|
||||
return items;
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user