Desktop: Resolves #5161: Display link to browse plugins when repository cannot be reached

master_password
Laurent Cozic 2021-08-28 15:45:27 +01:00
parent dec0a08954
commit 3b6e6e45cf
1 changed files with 1 additions and 1 deletions

View File

@ -299,7 +299,7 @@ export default function(props: Props) {
function renderRepoApiError() { function renderRepoApiError() {
if (!repoApiError) return null; if (!repoApiError) return null;
return <RepoApiErrorMessage maxWidth={maxWidth} type="error">{_('Could not connect to plugin repository')} - <StyledLink href="#" onClick={() => { setFetchManifestTime(Date.now()); }}>{_('Try again')}</StyledLink></RepoApiErrorMessage>; return <RepoApiErrorMessage maxWidth={maxWidth} type="error">{_('Could not connect to plugin repository.')}<br/><br/>- <StyledLink href="#" onClick={() => { setFetchManifestTime(Date.now()); }}>{_('Try again')}</StyledLink><br/><br/>- <StyledLink href="#" onClick={onBrowsePlugins}>{_('Browse all plugins')}</StyledLink></RepoApiErrorMessage>;
} }
function renderBottomArea() { function renderBottomArea() {