Skip to content

Commit

Permalink
Merge branch 'master' into snyk-upgrade-17493b3c45360c3580c894f5ede8370b
Browse files Browse the repository at this point in the history
  • Loading branch information
Blankll authored Jan 7, 2025
2 parents 6a111e0 + 0b24df2 commit 69498b0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/views/editor/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ const executeQueryAction = async (position: { column: number; lineNumber: number
}
try {
displayJsonEditor('');
if (!established.value) {
message.error(lang.t('editor.establishedRequired'), {
closable: true,
Expand Down Expand Up @@ -204,6 +205,7 @@ const autoIndentAction = (editor: monaco.editor.IStandaloneCodeEditor, position:
// @ts-ignore
inverseEditOperations => [],
);
editor.setPosition({ lineNumber: startLineNumber + 1, column: 1 });
} catch (err) {
message.error(lang.t('editor.invalidJson'), {
closable: true,
Expand Down

0 comments on commit 69498b0

Please sign in to comment.