Sentiaus commented on code in PR #5721:
URL: https://github.com/apache/texera/pull/5721#discussion_r3487424112


##########
frontend/src/app/dashboard/component/user/list-item/list-item.component.html:
##########
@@ -217,12 +218,29 @@
       nz-button
       nzType="text"
       *ngIf="entry.type === 'workflow' || entry.type === 'dataset'"
-      title="Download"
-      (click)="onClickDownload()">
+      nz-dropdown
+      [(nzVisible)]="exportMenuVisible"
+      nzOverlayClassName="export-dropdown-menu"
+      [nzDropdownMenu]="exportMenu"
+      title="Export">
       <i
         nz-icon
         nzType="cloud-download"></i>
     </button>
+    <nz-dropdown-menu #exportMenu="nzDropdownMenu">
+      <ul nz-menu>
+        <li
+          nz-menu-item
+          (click)="onClickDownload()">
+          Download
+        </li>
+        <li
+          nz-menu-item
+          (click)="onClickExportToDrive(); $event.stopPropagation()">

Review Comment:
   added $event.stopPropagation() to the Download menu item.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to