mirror of
https://github.com/makeplane/plane.git
synced 2026-07-13 05:49:40 +02:00
[WEB-1559] chore: hide workspace level pages app switcher. (#474)
This commit is contained in:
@@ -9,6 +9,17 @@ import { PagesAppCommandPalette } from "@/plane-web/components/command-palette";
|
||||
import { PagesAppSidebar } from "./sidebar";
|
||||
|
||||
export default function WorkspacePagesLayout({ children }: { children: React.ReactNode }) {
|
||||
// Workspace pages in coming soon page
|
||||
if (true)
|
||||
return (
|
||||
<div className="relative flex h-screen w-full items-center justify-center overflow-hidden">
|
||||
<div className="text-center">
|
||||
<span className="text-2xl mb-4 block">Congratulations! 🎉 You found our easter egg! 🥚</span>
|
||||
<p className="text-lg">Workspace pages are coming soon! Please stay tuned for exciting updates. 🚀</p>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
|
||||
return (
|
||||
<AuthenticationWrapper>
|
||||
<PagesAppCommandPalette />
|
||||
|
||||
@@ -29,6 +29,9 @@ export const AppSwitcher = () => {
|
||||
|
||||
const isPagesApp = pathname.includes(`/${workspaceSlug.toString()}/pages`);
|
||||
|
||||
// Hide app switcher for now
|
||||
if (true) return null;
|
||||
|
||||
return (
|
||||
<div className="flex my-2 rounded-lg bg-custom-sidebar-background-90 w-full p-1">
|
||||
{APPS_LIST.map((app) => (
|
||||
|
||||
Reference in New Issue
Block a user