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:
@@ -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