fix from albumView to other routes bug

- add nginx sites
- add setup script (untested**)
This commit is contained in:
geoffrey45
2022-02-13 17:18:23 +03:00
parent 6d6d2831c0
commit 462acd0229
8 changed files with 45 additions and 814 deletions
+9 -9
View File
@@ -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%;
-1
View File
@@ -56,7 +56,6 @@ export default {
}
function emitLoadAlbum(title, artist) {
console.log("hii");
emit("loadAlbum", title, artist);
}
+6 -3
View File
@@ -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>