diff options
author | Nikhil Ashoka <a.nikhil@ibm.com> | 2024-05-09 12:47:44 +0300 |
---|---|---|
committer | Sivaprabu Ganesan <sivaprabug@ami.com> | 2024-05-21 06:04:22 +0300 |
commit | f11a190192115fbb798dc0ded02d3f383e407922 (patch) | |
tree | 32f46e38393e5e6d4a641c379a6ce01437ac3be7 /src/views/HardwareStatus/Inventory/InventoryTableDimmSlot.vue | |
parent | 07368136b6578638f04f961b3842e93d57e41397 (diff) | |
download | webui-vue-f11a190192115fbb798dc0ded02d3f383e407922.tar.xz |
Added toast notification for identify LEDs
- Added success toast notification messages for identify
LEDs present at Inventory and LEDs page and Overview.
- Import of Toast was not present in Overview's Inventory
card and DIMM slot table, fixed it.
Signed-off-by: Nikhil Ashoka <a.nikhil@ibm.com>
Change-Id: If9ad84e66f6f15616cb8af51b1e84d8d06b1afd0
Diffstat (limited to 'src/views/HardwareStatus/Inventory/InventoryTableDimmSlot.vue')
-rw-r--r-- | src/views/HardwareStatus/Inventory/InventoryTableDimmSlot.vue | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/views/HardwareStatus/Inventory/InventoryTableDimmSlot.vue b/src/views/HardwareStatus/Inventory/InventoryTableDimmSlot.vue index 6aa1578f..f3db133e 100644 --- a/src/views/HardwareStatus/Inventory/InventoryTableDimmSlot.vue +++ b/src/views/HardwareStatus/Inventory/InventoryTableDimmSlot.vue @@ -193,6 +193,7 @@ import IconChevron from '@carbon/icons-vue/es/chevron--down/20'; import StatusIcon from '@/components/Global/StatusIcon'; import TableCellCount from '@/components/Global/TableCellCount'; +import BVToastMixin from '@/components/Mixins/BVToastMixin'; import DataFormatterMixin from '@/components/Mixins/DataFormatterMixin'; import TableSortMixin from '@/components/Mixins/TableSortMixin'; import Search from '@/components/Global/Search'; @@ -206,6 +207,7 @@ import TableRowExpandMixin, { export default { components: { IconChevron, PageSection, StatusIcon, Search, TableCellCount }, mixins: [ + BVToastMixin, TableRowExpandMixin, DataFormatterMixin, TableSortMixin, @@ -287,6 +289,7 @@ export default { uri: row.uri, identifyLed: row.identifyLed, }) + .then((message) => this.successToast(message)) .catch(({ message }) => this.errorToast(message)); }, hasIdentifyLed(identifyLed) { |