Changeset 9d40151 for pages/dashboard


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
  • pages/dashboard/admin/+Page.tsx

    r4f2900a r9d40151  
    352352                            }}>
    353353                                {data.pendingBuilds.map((build: any) => (
    354                                     <Box key={build.id}>
     354                                    <Box key={build.id} sx={{
     355                                        display: 'flex',
     356                                        flexDirection: 'column',
     357                                        borderRadius: 2,
     358                                        overflow: 'hidden',
     359                                        bgcolor: 'background.paper'
     360                                    }}>
    355361                                        <BuildCard
    356362                                            build={build}
    357363                                            onClick={() => setSelectedBuildId(build.id)}
    358364                                        />
    359                                         <Box sx={{mt: 1, display: 'flex', gap: 1, justifyContent: 'center'}}>
    360                                             <Button
    361                                                 variant="contained"
    362                                                 color="warning"
    363                                                 size="small"
    364                                                 startIcon={<BuildIcon/>}
    365                                                 onClick={(e) => {
    366                                                     e.stopPropagation();
    367                                                     openBuildApproval(build.id, build.name);
    368                                                 }}
    369                                             >
    370                                                 Review
    371                                             </Button>
    372                                         </Box>
     365                                        <Button
     366                                            variant="contained"
     367                                            color="warning"
     368                                            size="small"
     369                                            fullWidth
     370                                            startIcon={<BuildIcon/>}
     371                                            onClick={(e) => {
     372                                                e.stopPropagation();
     373                                                openBuildApproval(build.id, build.name);
     374                                            }}
     375                                            sx={{borderRadius: 0}}
     376                                        >
     377                                            Review
     378                                        </Button>
    373379                                    </Box>
    374380                                ))}
     381
    375382                            </Box>
    376383                        )}
Note: See TracChangeset for help on using the changeset viewer.