refactor(ocp page): using the name of the url now vs the settings

This commit is contained in:
2025-11-01 00:07:48 -05:00
parent 2a6eafa19a
commit d406a92f3d

View File

@@ -61,8 +61,7 @@ export default function OCPPage() {
<ResizableHandle /> <ResizableHandle />
<ResizablePanel className="min-h-[200px] min-w-[200px] max-w-[450px]"> <ResizablePanel className="min-h-[200px] min-w-[200px] max-w-[450px]">
<ResizablePanelGroup direction="vertical" autoSaveId="ocpPage_vert"> <ResizablePanelGroup direction="vertical" autoSaveId="ocpPage_vert">
{location.hostname.includes("usday1") || {location.hostname.includes("usday1") && (
(location.hostname === "localhost" && (
<ResizablePanel <ResizablePanel
style={{ style={{
overflow: "auto", overflow: "auto",
@@ -73,7 +72,20 @@ export default function OCPPage() {
> >
<WrapperManualTrigger /> <WrapperManualTrigger />
</ResizablePanel> </ResizablePanel>
))} )}
{location.hostname.includes("localhost") && (
<ResizablePanel
style={{
overflow: "auto",
scrollbarWidth: "none",
}}
defaultSize={50}
className="min-h-[200px]"
>
<WrapperManualTrigger />
</ResizablePanel>
)}
<ResizableHandle /> <ResizableHandle />
<ResizablePanel> <ResizablePanel>