Skip to content

Commit

Permalink
Show sync button when remote hosts are set to a third part server. (#315
Browse files Browse the repository at this point in the history
) (#316)

(cherry picked from commit adcc466)

Co-authored-by: David Newswanger <[email protected]>
  • Loading branch information
patchback[bot] and newswangerd authored Mar 8, 2021
1 parent a82ea1a commit eefb858
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/components/repositories/remote-repository-table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,10 @@ export class RemoteRepositoryTable extends React.Component<IProps> {
return syncButton;
}

if (remoteType === 'none' && remote.url) {
return syncButton;
}

return configButton;
}
}

0 comments on commit eefb858

Please sign in to comment.