fix: disable shorctut to show Ace editor settings, fixes #585

This commit is contained in:
Fabio Di Stasio 2023-05-26 18:17:23 +02:00
parent f454b4bb1c
commit 2c0b4ffe1f
3 changed files with 4 additions and 4 deletions

View File

@ -696,8 +696,6 @@ export class PostgreSQLClient extends AntaresCore {
MINVALUE ${rows[0].minimum_value}
MAXVALUE ${rows[0].maximum_value}
CACHE 1;\n`;
// createSql += `\nALTER TABLE "${sequence}" OWNER TO ${this._client._params.user};\n\n`;
}
}
@ -706,8 +704,6 @@ export class PostgreSQLClient extends AntaresCore {
${columnsSql.join(',\n ')}
);\n`;
// createSql += `\nALTER TABLE "${tableName}" OWNER TO ${this._client._params.user};\n\n`;
// Table indexes
createSql += '\n';
const { rows: indexes } = await this.select('*')

View File

@ -118,6 +118,8 @@ onMounted(() => {
}, 20);
}
editor.commands.removeCommand('showSettingsMenu');
setTimeout(() => {
editor.resize();
}, 20);

View File

@ -373,6 +373,8 @@ onMounted(() => {
e.stop();
});
editor.value.commands.removeCommand('showSettingsMenu');
if (props.autoFocus) {
setTimeout(() => {
editor.value.focus();