From b4d1fb8b8e6e6cdb7be76a2d4fa0d2b9a84f3ba2 Mon Sep 17 00:00:00 2001
From: Vitalii Lysak <v.lysak@dunice.net>
Date: Wed, 10 Aug 2022 15:46:15 +0300
Subject: SILABMC-236: upd layput for ReadOnly role

---
 .../Overview/Inventory/InventoryTableDimmSlot.vue  | 25 +++++++++++-----------
 1 file changed, 12 insertions(+), 13 deletions(-)

(limited to 'src/views/_sila/Overview/Inventory/InventoryTableDimmSlot.vue')

diff --git a/src/views/_sila/Overview/Inventory/InventoryTableDimmSlot.vue b/src/views/_sila/Overview/Inventory/InventoryTableDimmSlot.vue
index f1858ae9..40c30d4c 100644
--- a/src/views/_sila/Overview/Inventory/InventoryTableDimmSlot.vue
+++ b/src/views/_sila/Overview/Inventory/InventoryTableDimmSlot.vue
@@ -52,19 +52,18 @@
       </template>
       <!-- Toggle identify LED -->
       <template #cell(identifyLed)="row">
-        <div class="disabledDiv">
-          <b-form-checkbox
-            v-model="row.item.identifyLed"
-            name="switch"
-            switch
-            @change="toggleIdentifyLedValue(row.item)"
-          >
-            <span v-if="row.item.identifyLed">
-              {{ $t('global.status.on') }}
-            </span>
-            <span v-else> {{ $t('global.status.off') }} </span>
-          </b-form-checkbox>
-        </div>
+        <b-form-checkbox
+          v-model="row.item.identifyLed"
+          name="switch"
+          switch
+          disabled
+          @change="toggleIdentifyLedValue(row.item)"
+        >
+          <span v-if="row.item.identifyLed">
+            {{ $t('global.status.on') }}
+          </span>
+          <span v-else> {{ $t('global.status.off') }} </span>
+        </b-form-checkbox>
       </template>
       <template #row-details="{ item }">
         <b-container fluid>
-- 
cgit v1.2.3

