credit encore 1

This commit is contained in:
Patrick
2025-04-02 21:54:43 +02:00
parent 753da9e9a1
commit 07b6629d10
2 changed files with 6 additions and 8 deletions

View File

@@ -50,18 +50,18 @@
async onMounted() {
const id = this.props.Id
if(this.props.Type === "release"){
this.state.release = await window.getReleaseDetails(id)
this.state.release = await window.getReleaseDetails(id);
// Récupérer les extra-artists depuis leur URL
const response = await fetch(artist.resource_url);
this.state.resource = response.json();
this.update();
}
else if (this.props.Type === "master"){
this.state.release = await window.getMasterDetails(id)
}
else{
this.state.release = await window.getArtistDetails(id)
// Récupérer les extra-artists depuis leur URL
const response = await fetch(artist.resource_url);
this.state.resource = response.json();
this.update();
}
this.update()