largegittest2
bunsenstraat 3 months ago
parent 8c218e28c3
commit 00dc873319
  1. 2
      libs/remix-ui/git/src/components/gitui.tsx
  2. 3
      libs/remix-ui/git/src/components/panels/init.tsx
  3. 2
      libs/remix-ui/git/src/components/panels/setup.tsx

@ -175,6 +175,8 @@ export const GitUI = (props: IGitUi) => {
<BranchHeader /> <BranchHeader />
{setup ? <Setup></Setup> : null} {setup ? <Setup></Setup> : null}
{needsInit ? <Init></Init> : null} {needsInit ? <Init></Init> : null}
{setup || needsInit ? <><hr></hr><h5>CLONE</h5>
<Clone hideLoadFromGitHub={setup}></Clone></> : null}
{!setup && !needsInit ? {!setup && !needsInit ?
<Accordion activeKey={activePanel} defaultActiveKey="0" className=""> <Accordion activeKey={activePanel} defaultActiveKey="0" className="">
<SourceControlNavigation eventKey={gitUIPanels.SOURCECONTROL} activePanel={activePanel} callback={setActivePanel} /> <SourceControlNavigation eventKey={gitUIPanels.SOURCECONTROL} activePanel={activePanel} callback={setActivePanel} />

@ -27,9 +27,6 @@ export const Init = () => {
><FormattedMessage id='git.init' /></GitUIButton> ><FormattedMessage id='git.init' /></GitUIButton>
</div> </div>
</div> </div>
<hr></hr>
<h5>CLONE</h5>
<Clone></Clone>
</> </>
) )
} }

@ -20,8 +20,6 @@ export const Setup = () => {
<hr></hr> <hr></hr>
<GitHubCredentials></GitHubCredentials> <GitHubCredentials></GitHubCredentials>
</div> </div>
<h5>CLONE</h5>
<Clone hideLoadFromGitHub={true}></Clone>
</> </>
) )
} else if (screen === 1) { } else if (screen === 1) {

Loading…
Cancel
Save