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

---
 src/views/_sila/Operations/SerialOverLan/SerialOverLan.vue | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

(limited to 'src/views/_sila/Operations/SerialOverLan/SerialOverLan.vue')

diff --git a/src/views/_sila/Operations/SerialOverLan/SerialOverLan.vue b/src/views/_sila/Operations/SerialOverLan/SerialOverLan.vue
index 22824772..e09b43d3 100644
--- a/src/views/_sila/Operations/SerialOverLan/SerialOverLan.vue
+++ b/src/views/_sila/Operations/SerialOverLan/SerialOverLan.vue
@@ -3,7 +3,12 @@
     <page-title class="mb-4" :description="$t('pageSerialOverLan.subTitle')" />
 
     <page-section class="mb-0">
-      <serial-over-lan-console :is-full-window="false" />
+      <serial-over-lan-console
+        :is-full-window="false"
+        :class="{
+          disabledDiv: $store.getters['authentication/role'] === 'ReadOnly',
+        }"
+      />
     </page-section>
   </b-container>
 </template>
-- 
cgit v1.2.3

