diff options
| author | Zephyrrus <[email protected]> | 2020-07-04 03:26:35 +0300 |
|---|---|---|
| committer | Zephyrrus <[email protected]> | 2020-07-04 03:26:35 +0300 |
| commit | 92be4504ccb8f6d918013e5c33870858cd22376a (patch) | |
| tree | c66a0980f9905118e02626b976f2084f5363cb4d /src/site/components/grid/Grid.vue | |
| parent | chore: add nsfw flag to migration (diff) | |
| download | host.fuwn.me-92be4504ccb8f6d918013e5c33870858cd22376a.tar.xz host.fuwn.me-92be4504ccb8f6d918013e5c33870858cd22376a.zip | |
feat: refactor most of the album components to use store for presentation and actions
Diffstat (limited to 'src/site/components/grid/Grid.vue')
| -rw-r--r-- | src/site/components/grid/Grid.vue | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/site/components/grid/Grid.vue b/src/site/components/grid/Grid.vue index a06eabf..956dd28 100644 --- a/src/site/components/grid/Grid.vue +++ b/src/site/components/grid/Grid.vue @@ -29,12 +29,6 @@ <Waterfall v-if="showWaterfall" :gutterWidth="10" :gutterHeight="4"> - <input v-if="enableSearch" - v-model="searchTerm" - type="text" - placeholder="Search..." - @input="search()" - @keyup.enter="search()"> <WaterfallItem v-for="(item, index) in gridFiles" :key="item.id" :width="width" @@ -167,7 +161,7 @@ </template> <template slot="footer"> <div class="has-text-right has-text-default"> - {{ files.length }} files + Showing {{ files.length }} files ({{ total }} total) </div> </template> </b-table> @@ -213,6 +207,10 @@ export default { type: Array, default: () => [] }, + total: { + type: Number, + default: 0 + }, fixed: { type: Boolean, default: false |