mirror of
https://github.com/Qortal/qapp-core.git
synced 2025-06-22 20:21:22 +00:00
fix
This commit is contained in:
parent
378c80cf3c
commit
a11bda3b58
@ -200,7 +200,26 @@ export const MultiPublishDialogComponent = () => {
|
|||||||
</Stack>
|
</Stack>
|
||||||
)}
|
)}
|
||||||
</DialogContent>
|
</DialogContent>
|
||||||
<DialogActions>
|
<DialogActions sx={{
|
||||||
|
flexDirection: 'column',
|
||||||
|
gap: '15px'
|
||||||
|
}}>
|
||||||
|
{failedResources?.length > 0 && (
|
||||||
|
<Box sx={{
|
||||||
|
display: 'flex',
|
||||||
|
gap: '10px'
|
||||||
|
}}>
|
||||||
|
<ErrorIcon color="error" />
|
||||||
|
<Typography variant="body2">Publish failed</Typography>
|
||||||
|
</Box>
|
||||||
|
)}
|
||||||
|
|
||||||
|
<Box sx={{
|
||||||
|
display: 'flex',
|
||||||
|
gap: '10px',
|
||||||
|
width: '100%',
|
||||||
|
justifyContent: 'flex-end'
|
||||||
|
}}>
|
||||||
<Button disabled={isLoading} color="error" variant="contained" onClick={() => {
|
<Button disabled={isLoading} color="error" variant="contained" onClick={() => {
|
||||||
reject(new Error('Canceled Publish'));
|
reject(new Error('Canceled Publish'));
|
||||||
reset();
|
reset();
|
||||||
@ -217,7 +236,9 @@ export const MultiPublishDialogComponent = () => {
|
|||||||
Retry
|
Retry
|
||||||
</Button>
|
</Button>
|
||||||
)}
|
)}
|
||||||
|
</Box>
|
||||||
</DialogActions>
|
</DialogActions>
|
||||||
|
|
||||||
</Dialog>
|
</Dialog>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user