0
0
Fork 0
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:
Georgiy 2023-05-26 18:47:08 +03:00
parent 2e93cd400c
commit 1fdf1510a6

View file

@ -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)}`;
}