소스 검색

HUE-9456 [editor] Make sure executable ID doesn't change after loading from history in editor v2

Johan Ahlen 5 년 전
부모
커밋
08ea596d88
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      desktop/core/src/desktop/js/apps/notebook2/execution/sqlExecutable.ts

+ 1 - 0
desktop/core/src/desktop/js/apps/notebook2/execution/sqlExecutable.ts

@@ -111,6 +111,7 @@ export default class SqlExecutable extends Executable {
 
   toJson(): string {
     return JSON.stringify({
+      id: this.id,
       statement: this.getStatement(),
       database: this.database
     });