summaryrefslogtreecommitdiff
path: root/src/views/HardwareStatus/Inventory/InventoryTableSystem.vue
diff options
context:
space:
mode:
Diffstat (limited to 'src/views/HardwareStatus/Inventory/InventoryTableSystem.vue')
-rw-r--r--src/views/HardwareStatus/Inventory/InventoryTableSystem.vue11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/views/HardwareStatus/Inventory/InventoryTableSystem.vue b/src/views/HardwareStatus/Inventory/InventoryTableSystem.vue
index 54129d1f..f2cdb3ed 100644
--- a/src/views/HardwareStatus/Inventory/InventoryTableSystem.vue
+++ b/src/views/HardwareStatus/Inventory/InventoryTableSystem.vue
@@ -30,12 +30,19 @@
<template #cell(locationIndicatorActive)="{ item }">
<b-form-checkbox
- id="identifyLedSwitch"
+ id="identifyLedSwitchSystem"
v-model="item.locationIndicatorActive"
- data-test-id="hardwareStatus-toggle-identifyLed"
+ data-test-id="inventorySystem-toggle-identifyLed"
switch
@change="toggleIdentifyLedSwitch"
>
+ <span class="sr-only">
+ {{ $t('pageInventory.table.identifyLed') }}
+ </span>
+ <span v-if="item.locationIndicatorActive">
+ {{ $t('global.status.on') }}
+ </span>
+ <span v-else>{{ $t('global.status.off') }}</span>
</b-form-checkbox>
</template>