-
- {data.name}
-
+ {data.name}
{!data.is_component && (
@@ -202,7 +212,9 @@ export const MarketCardComponent = ({
content={
authorized
? added
- ? "Added to Account"
+ ? installable
+ ? "Install Locally"
+ : "Added to Account"
: "Add to Account"
: "Please review your API key."
}
@@ -220,14 +232,31 @@ export const MarketCardComponent = ({
}
if (!added) {
handleAdd();
+ } else if (installable) {
+ handleInstall();
}
}}
>