async updateInventoryCount()

in employee-ui/src/store/index.js [54:59]


      async updateInventoryCount(context, params) {
        let inventoryChange = params.inventoryCount;
        await Server.updateInventoryCount(params.dishId, inventoryChange);
        const inventoryCounts = await Server.getInventoryCounts();
        context.commit('setInventoryCounts', inventoryCounts);
      }