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}
|
MINVALUE ${rows[0].minimum_value}
|
||||||
MAXVALUE ${rows[0].maximum_value}
|
MAXVALUE ${rows[0].maximum_value}
|
||||||
CACHE 1;\n`;
|
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 ')}
|
${columnsSql.join(',\n ')}
|
||||||
);\n`;
|
);\n`;
|
||||||
|
|
||||||
// createSql += `\nALTER TABLE "${tableName}" OWNER TO ${this._client._params.user};\n\n`;
|
|
||||||
|
|
||||||
// Table indexes
|
// Table indexes
|
||||||
createSql += '\n';
|
createSql += '\n';
|
||||||
const { rows: indexes } = await this.select('*')
|
const { rows: indexes } = await this.select('*')
|
||||||
|
@ -118,6 +118,8 @@ onMounted(() => {
|
|||||||
}, 20);
|
}, 20);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
editor.commands.removeCommand('showSettingsMenu');
|
||||||
|
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
editor.resize();
|
editor.resize();
|
||||||
}, 20);
|
}, 20);
|
||||||
|
@ -373,6 +373,8 @@ onMounted(() => {
|
|||||||
e.stop();
|
e.stop();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
editor.value.commands.removeCommand('showSettingsMenu');
|
||||||
|
|
||||||
if (props.autoFocus) {
|
if (props.autoFocus) {
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
editor.value.focus();
|
editor.value.focus();
|
||||||
|
Reference in New Issue
Block a user