order of priority

pull/5370/head
yann300 5 months ago
parent 506a6953bc
commit eadd51f1ea
  1. 4
      libs/remix-ui/git/src/components/gitui.tsx

@ -166,8 +166,8 @@ export const GitUI = (props: IGitUi) => {
<pluginActionsContext.Provider value={pluginActionsProviderValue}>
<BranchHeader />
{setup && !needsInit ? <Setup plugin={plugin} ></Setup> : null}
{needsInit ? <Init></Init> : null}
{setup ? <Setup plugin={plugin} ></Setup> : null}
{!setup && needsInit ? <Init></Init> : null}
{!setup && !needsInit ?
<Accordion activeKey={activePanel} defaultActiveKey="1">
<GitHubNavigation eventKey="0" activePanel={activePanel} callback={setActivePanel} />

Loading…
Cancel
Save