removed if statement

This commit is contained in:
Matthis FAUVET 2024-06-24 22:34:48 +02:00
parent 802e87b857
commit 951e03ce63

View File

@ -18,7 +18,7 @@
</form>
</div>
<div class="flex flex-wrap px-12 justify-between mt-8" if>
<div class="flex flex-wrap px-12 justify-between mt-8">
<div each={ album in state.items } class="item mb-4 border border-solid rounded-lg h-64 flex justify-center items-center">
<p> { album.name } </p>
</div>
@ -68,7 +68,6 @@
this.update();
},
async fetchData(){
console.log(this.state.filter);
let data = await this.execQuery(this.state.search, this.state.filter, this.state.id);
this.update({
items: data.results