Fix default app in main appstore list (#7141)

This commit is contained in:
sean-brydon
2023-02-17 09:11:03 +00:00
committed by GitHub
parent 7c749299bb
commit 00ebda2fc6
3 changed files with 15 additions and 2 deletions
+1 -1
View File
@@ -149,7 +149,7 @@ export function AppCard({ app, credentials, searchText }: AppCardProps) {
<span className="rounded-md bg-red-100 px-2 py-1 text-sm font-normal text-red-800">Template</span>
)}
{app.isGlobal && (
{(app.isDefault || (!app.isDefault && app.isGlobal)) && (
<span className="flex items-center rounded-md bg-gray-100 px-2 py-1 text-sm font-normal text-gray-800">
{t("default")}
</span>