mirror of https://github.com/laurent22/joplin.git
Desktop: Resolves #5161: Display link to browse plugins when repository cannot be reached
parent
dec0a08954
commit
3b6e6e45cf
|
@ -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() {
|
||||||
|
|
Loading…
Reference in New Issue