mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
[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:
parent
34e1be7ba0
commit
ec955e064b
1
web/ce/components/sidebar/app-switcher.tsx
Normal file
1
web/ce/components/sidebar/app-switcher.tsx
Normal file
@ -0,0 +1 @@
|
||||
export const AppSwitcher = () => null;
|
1
web/ce/components/sidebar/index.ts
Normal file
1
web/ce/components/sidebar/index.ts
Normal file
@ -0,0 +1 @@
|
||||
export * from "./app-switcher";
|
@ -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";
|
||||
|
@ -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 &&
|
||||
|
Loading…
Reference in New Issue
Block a user