diff --git a/apps/web/components/App.tsx b/apps/web/components/App.tsx index fb8912b49d..9abb8aab85 100644 --- a/apps/web/components/App.tsx +++ b/apps/web/components/App.tsx @@ -1,12 +1,12 @@ import { BookOpenIcon, + CheckIcon, DocumentTextIcon, ExternalLinkIcon, FlagIcon, MailIcon, - ShieldCheckIcon, PlusIcon, - CheckIcon, + ShieldCheckIcon, } from "@heroicons/react/outline"; import { ChevronLeftIcon } from "@heroicons/react/solid"; import Link from "next/link"; @@ -89,6 +89,7 @@ export default function App({ } getInstalledApp(type); }, [type]); + const allowedMultipleInstalls = categories.indexOf("calendar") > -1; return ( <> @@ -101,10 +102,7 @@ export default function App({
- { - // eslint-disable-next-line @next/next/no-img-element - {name} - } + {name}

{name}

@@ -115,7 +113,7 @@ export default function App({
{!isLoading ? ( - isGlobal || installedAppCount > 0 ? ( + isGlobal || (installedAppCount > 0 && allowedMultipleInstalls) ? (