mirror of
https://github.com/modrinth/code.git
synced 2026-09-05 06:19:11 +00:00
fix: prepr
This commit is contained in:
@@ -929,12 +929,7 @@ function getCardActions(
|
||||
{
|
||||
key: 'install',
|
||||
label: formatMessage(installLabel),
|
||||
icon:
|
||||
showAsInstalling
|
||||
? SpinnerIcon
|
||||
: isQueued || showAsInstalled
|
||||
? CheckIcon
|
||||
: PlusIcon,
|
||||
icon: showAsInstalling ? SpinnerIcon : isQueued || showAsInstalled ? CheckIcon : PlusIcon,
|
||||
iconClass: showAsInstalling ? 'animate-spin' : undefined,
|
||||
disabled:
|
||||
showAsInstalled || isInstalling || isInstallingSelection || (isQueued && !isQueuedRoot),
|
||||
|
||||
Reference in New Issue
Block a user