Changeset 9d40151 for components/BuildDetailsDialog.tsx
- Timestamp:
- 02/25/26 20:46:23 (5 months ago)
- Branches:
- main
- Children:
- ad3c219
- Parents:
- 4f2900a
- File:
-
- 1 edited
-
components/BuildDetailsDialog.tsx (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
components/BuildDetailsDialog.tsx
r4f2900a r9d40151 125 125 } 126 126 }; 127 128 const handleCloneClick = () => {129 if(!currentUser){130 window.location.href="/auth/login";131 return;132 }133 134 setCloningBuildId(details.id);135 setCloneDialogOpen(true);136 }137 127 138 128 if (!open) return null; … … 273 263 size="large" 274 264 startIcon={<AutoFixHighIcon/>} 275 onClick={handleCloneClick} 276 > 265 onClick={() => { 266 setCloningBuildId(details.id); 267 setCloneDialogOpen(true); 268 }} > 277 269 Clone & Edit 278 270 </Button>
Note:
See TracChangeset
for help on using the changeset viewer.
