Merge remote-tracking branch 'origin/devel' into refactor/cb-2425/tabs-box-auto-select

This commit is contained in:
Wroud
2022-09-12 11:02:51 +03:00
102 changed files with 1454 additions and 420 deletions
@@ -203,7 +203,7 @@ export function useSqlEditor(state: ISqlEditorTabState): ISQLEditorData {
}
const query = this.value;
const script = this.getExecutingQuery(true);
const script = this.getExecutingQuery(false);
if (!script) {
return;
@@ -82,6 +82,7 @@ export function useTools(state: ISqlEditorTabState): Readonly<State> {
this.notificationService.logInfo({
title: 'sql_editor_upload_script_max_size_title',
message: `Max size: ${maxSize}KB\nFile size: ${size}KB`,
autoClose: false,
});
return false;
@@ -58,7 +58,7 @@ export class SqlGeneratorsBootstrap extends Bootstrap {
return false;
}
return !context.find(DATA_CONTEXT_MENU, MENU_SQL_GENERATORS) && !context.has(DATA_CONTEXT_MENU_NESTED);
return !context.hasValue(DATA_CONTEXT_MENU, MENU_SQL_GENERATORS) && !context.has(DATA_CONTEXT_MENU_NESTED);
},
getItems: (context, items) => [
...items,