Remove Add Another for global - fix spacing (#3432)
parent
9861156edb
commit
baab6ecb2e
|
@ -119,12 +119,13 @@ const Component = ({
|
||||||
<div className="mt-4 sm:mt-0 sm:text-right">
|
<div className="mt-4 sm:mt-0 sm:text-right">
|
||||||
{!isLoading ? (
|
{!isLoading ? (
|
||||||
isGlobal || (installedAppCount > 0 && allowedMultipleInstalls) ? (
|
isGlobal || (installedAppCount > 0 && allowedMultipleInstalls) ? (
|
||||||
<div className="space-x-3">
|
<div className="flex space-x-3">
|
||||||
<Button StartIcon={CheckIcon} color="secondary" disabled>
|
<Button StartIcon={CheckIcon} color="secondary" disabled>
|
||||||
{installedAppCount > 0
|
{installedAppCount > 0
|
||||||
? t("active_install", { count: installedAppCount })
|
? t("active_install", { count: installedAppCount })
|
||||||
: t("globally_install")}
|
: t("globally_install")}
|
||||||
</Button>
|
</Button>
|
||||||
|
{!isGlobal && (
|
||||||
<InstallAppButton
|
<InstallAppButton
|
||||||
type={type}
|
type={type}
|
||||||
isProOnly={isProOnly}
|
isProOnly={isProOnly}
|
||||||
|
@ -144,6 +145,7 @@ const Component = ({
|
||||||
);
|
);
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
|
)}
|
||||||
</div>
|
</div>
|
||||||
) : (
|
) : (
|
||||||
<InstallAppButton
|
<InstallAppButton
|
||||||
|
|
Loading…
Reference in New Issue