| commit | b6b9a6629fd415bbc6f59c179c5ff32080a48568 | [log] [tgz] |
|---|---|---|
| author | Charlie91 <aleksand44@yandex.ru> | Thu Aug 08 09:04:42 2024 +0300 |
| committer | GitHub <noreply@github.com> | Thu Aug 08 08:04:42 2024 +0200 |
| tree | efca4f896c425f6be7ab76f5fddfbac1b2231bd0 | |
| parent | bcf3499fc82261a06e88a62b0e5182840d0598ba [diff] |
[ZEPPELIN-6047] add setConfig method to action-bar.component.ts (#4771)
diff --git a/zeppelin-web-angular/src/app/pages/workspace/notebook/action-bar/action-bar.component.ts b/zeppelin-web-angular/src/app/pages/workspace/notebook/action-bar/action-bar.component.ts index 9ec5ded..f76b5ff 100644 --- a/zeppelin-web-angular/src/app/pages/workspace/notebook/action-bar/action-bar.component.ts +++ b/zeppelin-web-angular/src/app/pages/workspace/notebook/action-bar/action-bar.component.ts
@@ -163,8 +163,12 @@ this.setConfig(); } - setConfig() { - // TODO(hsuanxyz) + setConfig(config?: Note['note']['config']) { + if (config) { + this.note.config = config; + } + + this.messageService.updateNote(this.note.id, this.note.name, this.note.config); } cloneNote() {