dididy commented on code in PR #5075:
URL: https://github.com/apache/zeppelin/pull/5075#discussion_r2355949337


##########
zeppelin-web-angular/src/app/pages/workspace/notebook/paragraph/paragraph.component.html:
##########
@@ -40,26 +40,27 @@
       [colWidthOption]="colWidthOption"
       [pid]="paragraph.id"
       [isEntireNoteRunning]="isEntireNoteRunning"
-      [(enabled)]="paragraph.config.enabled"
-      [(tableHide)]="paragraph.config.tableHide"
-      [(colWidth)]="paragraph.config.colWidth"
-      [(title)]="paragraph.config.title"
-      [(fontSize)]="paragraph.config.fontSize"
-      [(lineNumbers)]="paragraph.config.lineNumbers"
-      [(editorHide)]="paragraph.config.editorHide"
-      [(runOnSelectionChange)]="paragraph.config.runOnSelectionChange"
-      (tableHideChange)="commitParagraph()"
+      [enabled]="paragraph.config.enabled"
+      [tableHide]="paragraph.config.tableHide"
+      [colWidth]="paragraph.config.colWidth"
+      [titleShow]="paragraph.config.title"
+      [fontSize]="paragraph.config.fontSize"
+      [showLineNumbers]="paragraph.config.lineNumbers"
+      [editorHide]="paragraph.config.editorHide"
+      [runOnSelectionChange]="paragraph.config.runOnSelectionChange"

Review Comment:
   
https://github.com/apache/zeppelin/pull/5075/files#diff-b51f1242e607c0c7567f1b1d0667919f687bd0ef86a65ce9be1d5a58768882bbR22-R24
   
   I noticed that you added optional handling for paragraph and 
paragraph.config in paragraph.component.html. Since config and title in 
paragraph are optional types, I think this should be reflected. My earlier 
suggestion may have seemed a bit unclear. If this change isn’t correct, it’s 
totally fine to just leave it as is.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscr...@zeppelin.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to