aboutsummaryrefslogtreecommitdiff
path: root/src/site/components/grid
diff options
context:
space:
mode:
authorPitu <[email protected]>2019-09-30 07:06:22 +0000
committerPitu <[email protected]>2019-09-30 07:06:22 +0000
commit8e4f1b7838e3c43320f2e25e691c1808ae3c4089 (patch)
tree8549876e179dd9e636eb6a72cb7f8f630f6d315e /src/site/components/grid
parentAdd parallel chunks and raise timeout (diff)
downloadhost.fuwn.me-8e4f1b7838e3c43320f2e25e691c1808ae3c4089.tar.xz
host.fuwn.me-8e4f1b7838e3c43320f2e25e691c1808ae3c4089.zip
feature: album links
Diffstat (limited to 'src/site/components/grid')
-rw-r--r--src/site/components/grid/Grid.vue9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/site/components/grid/Grid.vue b/src/site/components/grid/Grid.vue
index 89ac125..07e5440 100644
--- a/src/site/components/grid/Grid.vue
+++ b/src/site/components/grid/Grid.vue
@@ -80,7 +80,8 @@
:gutterWidth="10"
:gutterHeight="4">
<!-- Gotta implement search and pagination here -->
- <input v-model="searchTerm"
+ <input v-if="enableSearch"
+ v-model="searchTerm"
type="text"
placeholder="Search..."
@input="search()"
@@ -115,12 +116,14 @@
<i class="icon-interface-window" />
</a>
</b-tooltip>
+ <!--
<b-tooltip label="Tags"
position="is-top">
<a @click="manageTags(item)">
<i class="icon-ecommerce-tag-c" />
</a>
</b-tooltip>
+ -->
<b-tooltip label="Delete"
position="is-top">
<a @click="deleteFile(item, index)">
@@ -157,6 +160,10 @@ export default {
width: {
type: Number,
default: 150
+ },
+ enableSearch: {
+ type: Boolean,
+ default: true
}
},
data() {