mirror of https://github.com/Fabio286/antares.git
fix: disable shorctut to show Ace editor settings, fixes #585
This commit is contained in:
parent
f454b4bb1c
commit
2c0b4ffe1f
|
@ -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('*')
|
||||
|
|
|
@ -118,6 +118,8 @@ onMounted(() => {
|
|||
}, 20);
|
||||
}
|
||||
|
||||
editor.commands.removeCommand('showSettingsMenu');
|
||||
|
||||
setTimeout(() => {
|
||||
editor.resize();
|
||||
}, 20);
|
||||
|
|
|
@ -373,6 +373,8 @@ onMounted(() => {
|
|||
e.stop();
|
||||
});
|
||||
|
||||
editor.value.commands.removeCommand('showSettingsMenu');
|
||||
|
||||
if (props.autoFocus) {
|
||||
setTimeout(() => {
|
||||
editor.value.focus();
|
||||
|
|
Loading…
Reference in New Issue