Ignore:
Timestamp:
02/25/26 20:46:23 (5 months ago)
Author:
Mihail <mihail2.naumov@…>
Branches:
main
Children:
ad3c219
Parents:
4f2900a
Message:

Fixed total build price error and other small errors.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • components/BuildDetailsDialog.tsx

    r4f2900a r9d40151  
    125125        }
    126126    };
    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     }
    137127
    138128    if (!open) return null;
     
    273263                                                        size="large"
    274264                                                        startIcon={<AutoFixHighIcon/>}
    275                                                         onClick={handleCloneClick}
    276                                                     >
     265                                                        onClick={() => {
     266                                                            setCloningBuildId(details.id);
     267                                                            setCloneDialogOpen(true);
     268                                                        }}                                                    >
    277269                                                        Clone & Edit
    278270                                                    </Button>
Note: See TracChangeset for help on using the changeset viewer.