Remove duplicated border in Calendar category (#7235)

* fix(schedule): close on click #7143

* fix(CalendarListContainer): remove duplicated border #7222

* fix: set right border to all installed apps
This commit is contained in:
Esaú Morais 2023-02-21 06:19:29 -03:00 committed by GitHub
parent c51150350a
commit 6fc3840ca3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -247,7 +247,7 @@ const IntegrationsContainer = ({
);
}
return (
<>
<div className="rounded-md border border-gray-200 p-7">
<ShellSubHeading
title={t(variant || "other")}
subtitle={t(`installed_app_${variant || "other"}_description`)}
@ -264,7 +264,7 @@ const IntegrationsContainer = ({
}
/>
<IntegrationsList handleDisconnect={handleDisconnect} data={data} variant={variant} />
</>
</div>
);
}}
/>
@ -313,19 +313,17 @@ export default function InstalledApps() {
return (
<>
<InstalledAppsLayout heading={t("installed_apps")} subtitle={t("manage_your_connected_apps")}>
<div className="rounded-md border border-gray-200 p-7">
{categoryList.includes(category) && (
<IntegrationsContainer handleDisconnect={handleDisconnect} variant={category} />
)}
{category === "calendar" && <CalendarListContainer />}
{category === "other" && (
<IntegrationsContainer
handleDisconnect={handleDisconnect}
variant={category}
exclude={[...categoryList, "calendar"]}
/>
)}
</div>
{categoryList.includes(category) && (
<IntegrationsContainer handleDisconnect={handleDisconnect} variant={category} />
)}
{category === "calendar" && <CalendarListContainer />}
{category === "other" && (
<IntegrationsContainer
handleDisconnect={handleDisconnect}
variant={category}
exclude={[...categoryList, "calendar"]}
/>
)}
</InstalledAppsLayout>
<DisconnectIntegrationModal
handleModelClose={handleModelClose}