You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-12-17 23:27:48 +02:00
Desktop: Use plugin repository URL when homepage URL is not available in config screen (#13318)
This commit is contained in:
@@ -150,8 +150,9 @@ export default function(props: Props) {
|
||||
|
||||
const onNameClick = useCallback(() => {
|
||||
const manifest = item.manifest;
|
||||
if (!manifest.homepage_url) return;
|
||||
void bridge().openExternal(manifest.homepage_url);
|
||||
const url = manifest.homepage_url ? manifest.homepage_url : manifest.repository_url;
|
||||
if (!url) return;
|
||||
void bridge().openExternal(url);
|
||||
}, [item]);
|
||||
|
||||
const onRecommendedClick = useCallback(() => {
|
||||
|
||||
Reference in New Issue
Block a user