From 6a19d0c55f1a6c98327c008c4e5f27885a9ecc83 Mon Sep 17 00:00:00 2001
From: Maksim Zakharov <m.zakharov@IBS.RU>
Date: Wed, 17 Aug 2022 16:21:53 +0300
Subject: add readonly btn for tables and reset

---
 src/views/_sila/Logs/EventLogs/EventLogs.vue | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/views/_sila/Logs/EventLogs/EventLogs.vue')

diff --git a/src/views/_sila/Logs/EventLogs/EventLogs.vue b/src/views/_sila/Logs/EventLogs/EventLogs.vue
index 8f52083f..f366f5ad 100644
--- a/src/views/_sila/Logs/EventLogs/EventLogs.vue
+++ b/src/views/_sila/Logs/EventLogs/EventLogs.vue
@@ -33,7 +33,7 @@
         <b-button
           variant="link"
           :disabled="
-            allLogs.length === 0 &&
+            allLogs.length === 0 ||
             $store.getters['authentication/role'] === 'ReadOnly'
           "
           @click="deleteAllLogs"
-- 
cgit v1.2.3

