summaryrefslogtreecommitdiff
path: root/iridescence/src/components/InventoryList.vue
blob: dbda9a41a4b356ed2329ac7472b9acd4ca5e95a4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<template>
  <div id="inventoryList">
    <section class="section">
      <div class="container">
        <div class="columns is-multiline is-variable is-7-desktop">
          <div
            class="column is-one-quarter"
            v-for="item in inventory"
            :key="item.id"
          >
            <InventoryCard v-bind="item"></InventoryCard>
          </div>
        </div>
      </div>
    </section>
  </div>
</template>

<script>
import InventoryCard from "@/components/InventoryCard.vue";

export default {
  name: "InventoryList",
  components: {
    InventoryCard
  },
  data() {
    return {};
  },
  computed: {
    inventory() {
      return this.$store.getters.inventory;
    }
  },
  methods: {}
};
</script>