<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>
