removed if statement
This commit is contained in:
parent
802e87b857
commit
951e03ce63
@ -18,7 +18,7 @@
|
|||||||
</form>
|
</form>
|
||||||
</div>
|
</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">
|
<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>
|
<p> { album.name } </p>
|
||||||
</div>
|
</div>
|
||||||
@ -68,7 +68,6 @@
|
|||||||
this.update();
|
this.update();
|
||||||
},
|
},
|
||||||
async fetchData(){
|
async fetchData(){
|
||||||
console.log(this.state.filter);
|
|
||||||
let data = await this.execQuery(this.state.search, this.state.filter, this.state.id);
|
let data = await this.execQuery(this.state.search, this.state.filter, this.state.id);
|
||||||
this.update({
|
this.update({
|
||||||
items: data.results
|
items: data.results
|
||||||
|
Loading…
Reference in New Issue
Block a user