This is an automated email from the ASF dual-hosted git repository.

tbonelee pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/zeppelin.git


The following commit(s) were added to refs/heads/master by this push:
     new c50b1dcad3 [ZEPPELIN-6542] Fix missing "Run" menu for first paragraph 
in Zeppelin
c50b1dcad3 is described below

commit c50b1dcad3643516d0b521e25ceec9fa730098b6
Author: Manhua <[email protected]>
AuthorDate: Sun Jul 19 02:06:02 2026 +0800

    [ZEPPELIN-6542] Fix missing "Run" menu for first paragraph in Zeppelin
    
    ### What is this PR for?
    The "Run" menu item for the first paragraph was not showing due to an 
incorrect show condition (!this.first). This change sets show: true 
unconditionally for the "Run" button, ensuring it is always visible for the 
first paragraph — which is expected behavior in Zeppelin.
    
    ### What type of PR is it?
    Bug Fix
    
    ### Todos
    * [ ] - Task
    
    ### What is the Jira issue?
    https://issues.apache.org/jira/browse/ZEPPELIN-6542
    
    ### How should this be tested?
    * Strongly recommended: add automated unit tests for any new or changed 
behavior
    * Outline any manual steps to test the PR here.
    
    ### Screenshots (if appropriate)
    
    ### Questions:
    * Does the license files need to update?
    * Is there breaking changes for older versions?
    * Does this needs documentation?
    
    
    Closes #5307 from kevinjmh/patch-3.
    
    Signed-off-by: ChanHo Lee <[email protected]>
---
 .../app/pages/workspace/notebook/paragraph/control/control.component.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/zeppelin-web-angular/src/app/pages/workspace/notebook/paragraph/control/control.component.ts
 
b/zeppelin-web-angular/src/app/pages/workspace/notebook/paragraph/control/control.component.ts
index c54da56058..8a13b3309e 100644
--- 
a/zeppelin-web-angular/src/app/pages/workspace/notebook/paragraph/control/control.component.ts
+++ 
b/zeppelin-web-angular/src/app/pages/workspace/notebook/paragraph/control/control.component.ts
@@ -98,7 +98,7 @@ export class NotebookParagraphControlComponent implements 
OnInit, OnChanges {
     this.listOfMenu = [
       {
         label: 'Run',
-        show: !this.first,
+        show: true,
         disabled: this.isEntireNoteRunning,
         icon: 'play-circle',
         trigger: () => this.trigger(this.runParagraph),

Reply via email to