We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b112ca7 commit 1175341Copy full SHA for 1175341
src/composables/footer.ts
@@ -8,10 +8,9 @@ export const useFooter = () => {
8
const route = useRoute();
9
10
const footerVisible = computed(() => {
11
- return (
12
- !(audioPlayer.value.file || playlistVisible.value || audioDetailPopup.value) &&
13
- (route.name === "Home" || (_footerVisible.value && route.name === "Search"))
14
- );
+ if (audioPlayer.value.file || playlistVisible.value || audioDetailPopup.value) return false;
+ if (route.name === "Home") return true;
+ return _footerVisible.value && route.name === "Search";
15
});
16
17
const hideFooter = () => {
0 commit comments