chore: code clean-up

This commit is contained in:
Vlad Stan 2023-07-19 14:50:21 +03:00
parent e1fd62400d
commit 8ebe2fe458
4 changed files with 5 additions and 63 deletions

View file

@ -1,26 +1,4 @@
<div>
<div v-if="searchNostr" class="row q-col-gutter-md">
<div class="col-12 q-gutter-y-md">
<q-card>
<q-card-section>
<div class="row items-center no-wrap q-mb-md">
<div class="col">
<h5 class="text-subtitle1 q-my-none">Search Globally</h5>
<p>Search for products on Nostr</p>
</div>
</div>
</q-card-section>
<q-card-section>
<q-input class="q-ml-md" standout square dense outlined clearable v-model.trim="search"
label="Search products" @keydown.enter="searchProducts" hint="Enter search terms separated by spaces">
<template v-slot:after>
<q-btn dense flat icon="search" label="Search" @click="searchProducts" />
</template>
</q-input>
</q-card-section>
</q-card>
</div>
</div>
<q-infinite-scroll v-if="showProducts" @load="onLoad" :offset="250">