[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
4 changed files with 7 additions and 0 deletions
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…
Add table
Add a link
Reference in a new issue