diff options
author | Adam T. Carpenter <atc@53hor.net> | 2020-09-12 08:35:13 -0400 |
---|---|---|
committer | Adam T. Carpenter <atc@53hor.net> | 2020-09-12 08:35:13 -0400 |
commit | 92b5b5cc69fdd3dfe67ea07a0fcf26bdd3c930f8 (patch) | |
tree | 5a4998f7e75bd140319be6e5136d57ceb3990b7b /iridescence/src/components/InventorySearch.vue | |
parent | 07e2b64c03c2fb566f324310f89b88797881b039 (diff) | |
download | theglassyladies-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.vue | 52 |
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> |