mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-05 04:53:01 +00:00
fix from albumView to other routes bug
- add nginx sites - add setup script (untested**)
This commit is contained in:
@@ -57,13 +57,13 @@ function changeTab(tab) {
|
||||
.r-sidebar {
|
||||
width: 34em;
|
||||
|
||||
// @include phone-only {
|
||||
// display: none;
|
||||
// }
|
||||
@include phone-only {
|
||||
display: none;
|
||||
}
|
||||
|
||||
// @include tablet-landscape {
|
||||
// width: 3rem;
|
||||
// }
|
||||
@include tablet-landscape {
|
||||
width: 3rem;
|
||||
}
|
||||
|
||||
.grid {
|
||||
height: 100%;
|
||||
@@ -74,9 +74,9 @@ function changeTab(tab) {
|
||||
grid-area: content;
|
||||
width: 31rem;
|
||||
|
||||
// @include tablet-landscape {
|
||||
// display: none;
|
||||
// }
|
||||
@include tablet-landscape {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.r-search {
|
||||
height: 100%;
|
||||
|
||||
@@ -56,7 +56,6 @@ export default {
|
||||
}
|
||||
|
||||
function emitLoadAlbum(title, artist) {
|
||||
console.log("hii");
|
||||
emit("loadAlbum", title, artist);
|
||||
}
|
||||
|
||||
|
||||
@@ -42,12 +42,15 @@ export default {
|
||||
watch(
|
||||
() => route.params,
|
||||
() => {
|
||||
routeLoader.toAlbum(route.params.album, route.params.artist);
|
||||
if (route.name == "AlbumView") {
|
||||
routeLoader.toAlbum(route.params.album, route.params.artist);
|
||||
}
|
||||
}
|
||||
);
|
||||
|
||||
onMounted(() => {
|
||||
routeLoader.toAlbum(route.params.album, route.params.artist);
|
||||
console.log("mounted");
|
||||
routeLoader.toAlbum(route.params.album, route.params.artist);
|
||||
});
|
||||
|
||||
onUnmounted(() => {
|
||||
@@ -87,4 +90,4 @@ export default {
|
||||
border: none;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
Reference in New Issue
Block a user