summaryrefslogtreecommitdiff
path: root/iridescence/src/components/InventoryList.vue
blob: a4962cdb8b0c9ee4212696c3ec903f468a34ffe7 (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
<template>
  <div id="inventoryList">
    <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>
</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>