mirror of
https://github.com/TeamPiped/Piped.git
synced 2025-08-09 20:24:09 +00:00
Save the tab param to the URL at runtime
This commit is contained in:
@@ -224,10 +224,13 @@ export default {
|
||||
},
|
||||
loadTab(index) {
|
||||
this.selectedTab = index;
|
||||
this.appendQueryToUrl("tab", this.tabs[index].name ?? "videos");
|
||||
|
||||
if (index == 0) {
|
||||
this.contentItems = this.channel.relatedStreams;
|
||||
return;
|
||||
}
|
||||
|
||||
if (this.tabs[index].content) {
|
||||
this.contentItems = this.tabs[index].content;
|
||||
return;
|
||||
|
Reference in New Issue
Block a user