[WEB-1559] chore: App switcher component added (#4793)

* chore: dummy app switcher component added

* chore: add export statement for the logo
This commit is contained in:
Aaryan Khandelwal 2024-06-13 12:44:03 +05:30 committed by GitHub
parent 34e1be7ba0
commit ec955e064b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1 @@
export const AppSwitcher = () => null;

View File

@ -0,0 +1 @@
export * from "./app-switcher";

View File

@ -4,6 +4,7 @@ export * from "./confirm-workspace-member-remove";
export * from "./create-workspace-form";
export * from "./delete-workspace-modal";
export * from "./help-section";
export * from "./logo";
export * from "./send-workspace-invitation-modal";
export * from "./sidebar-dropdown";
export * from "./sidebar-menu";

View File

@ -16,7 +16,10 @@ import { Avatar, Loader, TOAST_TYPE, setToast } from "@plane/ui";
import { GOD_MODE_URL } from "@/helpers/common.helper";
// hooks
import { useAppTheme, useUser, useUserProfile, useWorkspace } from "@/hooks/store";
// plane web components
import { AppSwitcher } from "@/plane-web/components/sidebar";
import { WorkspaceLogo } from "./logo";
// Static Data
const userLinks = (workspaceSlug: string) => [
{
@ -137,6 +140,7 @@ export const WorkspaceSidebarDropdown = observer(() => {
<h6 className="sticky top-0 z-10 h-full w-full bg-custom-sidebar-background-100 pb-1 pt-3 text-sm font-medium text-custom-sidebar-text-400">
{currentUser?.email}
</h6>
<AppSwitcher />
{workspacesList ? (
<div className="flex h-full w-full flex-col items-start justify-start gap-1.5">
{workspacesList.length > 0 &&