mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-04-23 03:00:31 -04:00
fix(model manager queue): play/pause button condition
This commit is contained in:
@@ -412,8 +412,8 @@ export const ModelInstallQueueItem = memo((props: ModelListItemProps) => {
|
||||
<Td textAlign="right" minWidth={130}>
|
||||
<Flex sx={ActionsColumnSx}>
|
||||
{/* Pause/Resume installatino */}
|
||||
{canResume ||
|
||||
(canPause && (
|
||||
{(canResume ||
|
||||
canPause) && (
|
||||
<Button
|
||||
size="sm"
|
||||
tooltip={canResume ? t('modelManager.resume') : t('modelManager.pause')}
|
||||
@@ -423,7 +423,7 @@ export const ModelInstallQueueItem = memo((props: ModelListItemProps) => {
|
||||
>
|
||||
{canResume ? t('modelManager.resume') : t('modelManager.pause')}
|
||||
</Button>
|
||||
))}
|
||||
)}
|
||||
|
||||
{/* Restart installation if required */}
|
||||
{hasRestartRequired && (
|
||||
|
||||
Reference in New Issue
Block a user