Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
6174 committed Mar 7, 2024
1 parent 12609b8 commit d7682b5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ export function PanelsContainerServerAdapter(props: PanelContainerProps) {
setVisible(true);
}
}, []);

if (!visible) {
return (
<div className="">
Expand All @@ -30,14 +31,14 @@ export function PanelsContainerServerAdapter(props: PanelContainerProps) {

// app page use different container
if (isApp) {
return props.children;
return <>{props.children}</>;
}

if (!isApp && !bootstraped) {
return (
<div className="">
<>
{props.children}
</div>
</>
)
}

Expand Down
1 change: 1 addition & 0 deletions packages/common/types/comflowy-console.types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,5 @@ export enum ComflowyConsoleLogTypes {
EXECUTE_WORKFLOW_ERROR = "EXECUTE_ERROR",
EXECUTE_NODE_ERROR = "EXECUTE_NODE_ERROR",
BOOTSTRAP_ERROR = "BOOTSTRAP_ERROR",
LINEAR_SHAPE_ERROR = "LINEAR_SHAPE_ERROR"
}

0 comments on commit d7682b5

Please sign in to comment.