We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad93e56 commit 534f06eCopy full SHA for 534f06e
src/views/Overview/OverviewInventory.vue
@@ -29,12 +29,14 @@
29
30
<script>
31
import OverviewCard from './OverviewCard';
32
+import BVToastMixin from '@/components/Mixins/BVToastMixin';
33
34
export default {
35
name: 'Inventory',
36
components: {
37
OverviewCard,
38
},
39
+ mixins: [BVToastMixin],
40
computed: {
41
systems() {
42
let systemData = this.$store.getters['system/systems'][0];
@@ -50,6 +52,7 @@ export default {
50
52
toggleIdentifyLedSwitch(state) {
51
53
this.$store
54
.dispatch('system/changeIdentifyLedState', state)
55
+ .then((message) => this.successToast(message))
56
.catch(({ message }) => this.errorToast(message));
57
58
0 commit comments