mirror of
https://github.com/Kong/insomnia
synced 2024-11-08 06:39:48 +00:00
[INS-1976] Adding Placeholder Pane (#5189)
* adding Placeholder Pane * Update packages/insomnia/src/ui/components/wrapper-debug.tsx Co-authored-by: Filipe Freire <livrofubia@gmail.com> Co-authored-by: Jack Kavanagh <jackkav@gmail.com>
This commit is contained in:
parent
bd58dc9241
commit
d28d8cafb6
@ -22,6 +22,7 @@ import { showCookiesModal } from './modals/cookies-modal';
|
||||
import { PageLayout } from './page-layout';
|
||||
import { GrpcRequestPane } from './panes/grpc-request-pane';
|
||||
import { GrpcResponsePane } from './panes/grpc-response-pane';
|
||||
import { PlaceholderRequestPane } from './panes/placeholder-request-pane';
|
||||
import { RequestPane } from './panes/request-pane';
|
||||
import { ResponsePane } from './panes/response-pane';
|
||||
import { SidebarChildren } from './sidebar/sidebar-children';
|
||||
@ -64,7 +65,6 @@ export const WrapperDebug: FC<Props> = ({
|
||||
window.main.webSocket.closeAll();
|
||||
};
|
||||
}, [activeEnvironment?._id]);
|
||||
|
||||
return (
|
||||
<PageLayout
|
||||
renderPageHeader={activeWorkspace ?
|
||||
@ -130,6 +130,7 @@ export const WrapperDebug: FC<Props> = ({
|
||||
)
|
||||
)
|
||||
)}
|
||||
{!activeRequest && <PlaceholderRequestPane />}
|
||||
</ErrorBoundary>
|
||||
: null}
|
||||
renderPaneTwo={
|
||||
|
Loading…
Reference in New Issue
Block a user