summaryrefslogtreecommitdiff
path: root/iridescence/src/components/InventorySearch.vue
diff options
context:
space:
mode:
authorAdam T. Carpenter <atc@53hor.net>2020-09-12 08:35:13 -0400
committerAdam T. Carpenter <atc@53hor.net>2020-09-12 08:35:13 -0400
commit92b5b5cc69fdd3dfe67ea07a0fcf26bdd3c930f8 (patch)
tree5a4998f7e75bd140319be6e5136d57ceb3990b7b /iridescence/src/components/InventorySearch.vue
parent07e2b64c03c2fb566f324310f89b88797881b039 (diff)
downloadtheglassyladies-92b5b5cc69fdd3dfe67ea07a0fcf26bdd3c930f8.tar.xz
theglassyladies-92b5b5cc69fdd3dfe67ea07a0fcf26bdd3c930f8.zip
Moved testing products into api/dichroism; renamed inventory to
products.
Diffstat (limited to 'iridescence/src/components/InventorySearch.vue')
-rw-r--r--iridescence/src/components/InventorySearch.vue52
1 files changed, 0 insertions, 52 deletions
diff --git a/iridescence/src/components/InventorySearch.vue b/iridescence/src/components/InventorySearch.vue
deleted file mode 100644
index 6145246..0000000
--- a/iridescence/src/components/InventorySearch.vue
+++ /dev/null
@@ -1,52 +0,0 @@
-<template>
- <div id="inventorySearch">
- <div class="field is-grouped is-grouped-multiline">
- <div class="control is-expanded">
- <input
- class="input is-primary is-medium"
- type="text"
- placeholder="Find something in particular..."
- v-model.trim="term"
- @input="updateSearch"
- autofocus
- />
- </div>
- <div class="control">
- <div class="select is-primary is-medium">
- <select>
- <option>Featured</option>
- <option>Name/A-Z</option>
- <option>Newest to Oldest</option>
- <option>Oldest to Newest</option>
- <option>Low to High</option>
- <option>High to Low</option>
- </select>
- </div>
- </div>
- </div>
- <content class="has-text-centered" v-if="noResults">
- <p>We couldn't find anything like that...</p>
- </content>
- </div>
-</template>
-
-<script>
-export default {
- name: "InventorySearch",
- data() {
- return {
- term: ""
- };
- },
- computed: {
- noResults() {
- return !this.$store.getters.inventory.length;
- }
- },
- methods: {
- updateSearch() {
- this.$store.commit("filterTerm", this.term);
- }
- }
-};
-</script>