mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-04 04:23:01 +00:00
fix album search
This commit is contained in:
committed by
Mungai Geoffrey
parent
26b7cd376d
commit
2f78ee3883
@@ -2,7 +2,7 @@
|
||||
<router-link
|
||||
:to="{
|
||||
name: 'AlbumView',
|
||||
params: { album: album.title, artist: album.artist },
|
||||
params: { hash: album.hash },
|
||||
}"
|
||||
class="result-item"
|
||||
>
|
||||
|
||||
@@ -48,7 +48,7 @@ const getAlbumArtists = async (hash: string) => {
|
||||
};
|
||||
|
||||
const getAlbumBio = async (hash: string) => {
|
||||
const { data, status } = await useAxios({
|
||||
const { data, status, error } = await useAxios({
|
||||
url: state.settings.uri + "/album/bio",
|
||||
props: {
|
||||
hash: hash,
|
||||
|
||||
@@ -36,6 +36,7 @@ export interface AlbumInfo {
|
||||
is_compilation: boolean;
|
||||
is_soundtrack: boolean;
|
||||
is_single: boolean;
|
||||
hash: string
|
||||
}
|
||||
|
||||
export interface Artist {
|
||||
|
||||
Reference in New Issue
Block a user