|
@@ -65,7 +65,7 @@ class SourcePage extends Component<PropsType, StateType> {
|
|
|
if (sourceType === "") {
|
|
if (sourceType === "") {
|
|
|
return (
|
|
return (
|
|
|
<BlockList>
|
|
<BlockList>
|
|
|
- {capabilities.github && (
|
|
|
|
|
|
|
+ {capabilities.github || capabilities.gitlab ? (
|
|
|
<Block onClick={() => setSourceType("repo")}>
|
|
<Block onClick={() => setSourceType("repo")}>
|
|
|
<BlockIcon src="https://git-scm.com/images/logos/downloads/Git-Icon-1788C.png" />
|
|
<BlockIcon src="https://git-scm.com/images/logos/downloads/Git-Icon-1788C.png" />
|
|
|
<BlockTitle>Git Repository</BlockTitle>
|
|
<BlockTitle>Git Repository</BlockTitle>
|
|
@@ -73,7 +73,7 @@ class SourcePage extends Component<PropsType, StateType> {
|
|
|
Deploy using source from a Git repo.
|
|
Deploy using source from a Git repo.
|
|
|
</BlockDescription>
|
|
</BlockDescription>
|
|
|
</Block>
|
|
</Block>
|
|
|
- )}
|
|
|
|
|
|
|
+ ) : null}
|
|
|
<Block onClick={() => setSourceType("registry")}>
|
|
<Block onClick={() => setSourceType("registry")}>
|
|
|
<BlockIcon src="https://cdn4.iconfinder.com/data/icons/logos-and-brands/512/97_Docker_logo_logos-512.png" />
|
|
<BlockIcon src="https://cdn4.iconfinder.com/data/icons/logos-and-brands/512/97_Docker_logo_logos-512.png" />
|
|
|
<BlockTitle>Docker Registry</BlockTitle>
|
|
<BlockTitle>Docker Registry</BlockTitle>
|