-
-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Refactor logic for retrieving special playlists and reduce …
…repeated code in special tabs by adding TabView
- Loading branch information
1 parent
713fc28
commit bcc201b
Showing
10 changed files
with
94 additions
and
354 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,7 @@ | ||
<script setup lang="ts"> | ||
import { useMainStore } from '@/stores/main' | ||
import { computed } from 'vue' | ||
import LivesGridTab from './LivesGridTab.vue' | ||
const main = useMainStore() | ||
const livesAvailable = computed(() => main.channel?.userLivesPlaylist) | ||
import TabView from '@/views/TabView.vue' | ||
</script> | ||
|
||
<template> | ||
<div v-if="livesAvailable"> | ||
<lives-grid-tab/> | ||
</div> | ||
<div v-else> | ||
<p style="text-align: center">No Live available</p> | ||
</div> | ||
<tab-view :playlist-slug="'userLivesPlaylist'" title-prefix="Lives" /> | ||
</template> |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.