mirror of
https://github.com/Fabio286/antares.git
synced 2025-06-05 21:59:22 +02:00
fix: disable shorctut to show Ace editor settings, fixes #585
This commit is contained in:
@ -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();
|
||||
|
Reference in New Issue
Block a user