Skip to content

Commit

Permalink
feat(filter): пресеты полей
Browse files Browse the repository at this point in the history
  • Loading branch information
popstas committed Sep 6, 2018
1 parent 6cd9d91 commit 74bcf16
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,16 @@
</div>
</div>

<input placeholder="query" v-model="q" title="Например:
<input class="filter__query" placeholder="query" v-model="q" title="Например:
site_info.engine:bitrix prod:1"/>

<div class="column-presets">
columns:
<button
v-for="preset in columnPresets" :key="preset.name"
@click="setPreset(preset);" v-html="preset.name"></button>
</div>

<v-client-table v-if="filteredSites.length > 0"
:columns="columns"
:data="filteredSites"
Expand Down

0 comments on commit 74bcf16

Please sign in to comment.