mirror of https://github.com/VueTubeApp/VueTube
fix(channelUrls): Fixed displaying channels which opened from search.
This commit is contained in:
parent
2e93cd400c
commit
1fdf1510a6
|
@ -13,7 +13,7 @@ class rendererUtils {
|
||||||
} else if (base.watchEndpoint) {
|
} else if (base.watchEndpoint) {
|
||||||
return `/watch?v=${base.watchEndpoint.videoId}`;
|
return `/watch?v=${base.watchEndpoint.videoId}`;
|
||||||
} else if (base.navigationEndpoint) {
|
} else if (base.navigationEndpoint) {
|
||||||
return; //for now
|
return base.navigationEndpoint.browseEndpoint.canonicalBaseUrl; //for now
|
||||||
} else if (base.searchEndpoint) {
|
} else if (base.searchEndpoint) {
|
||||||
return `/search?q=${encodeURI(base.searchEndpoint.query)}`;
|
return `/search?q=${encodeURI(base.searchEndpoint.query)}`;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue