mirror of
https://github.com/VueTubeApp/VueTube
synced 2024-11-22 03:05:15 +00:00
fix(channelUrls): Fixed displaying channels which opened from search.
This commit is contained in:
parent
2e93cd400c
commit
1fdf1510a6
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ class rendererUtils {
|
|||
} else if (base.watchEndpoint) {
|
||||
return `/watch?v=${base.watchEndpoint.videoId}`;
|
||||
} else if (base.navigationEndpoint) {
|
||||
return; //for now
|
||||
return base.navigationEndpoint.browseEndpoint.canonicalBaseUrl; //for now
|
||||
} else if (base.searchEndpoint) {
|
||||
return `/search?q=${encodeURI(base.searchEndpoint.query)}`;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue