From 307382e809bc7d933ee593f68ef354c388ea350e Mon Sep 17 00:00:00 2001
From: SurenNeware <sneware9@in.ibm.com>
Date: Mon, 27 Jul 2020 20:45:14 +0530
Subject: Add default or empty table state

-Add appropriate empty text for the table.
-Add common default empty state for all tables.

Signed-off-by: Suren Neware <sneware9@in.ibm.com>
Change-Id: If4beabc0b1450718095757bbb0803335ccf83ec5
---
 src/views/AccessControl/Ldap/TableRoleGroups.vue | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'src/views/AccessControl/Ldap/TableRoleGroups.vue')

diff --git a/src/views/AccessControl/Ldap/TableRoleGroups.vue b/src/views/AccessControl/Ldap/TableRoleGroups.vue
index c09d1661..8df87742 100644
--- a/src/views/AccessControl/Ldap/TableRoleGroups.vue
+++ b/src/views/AccessControl/Ldap/TableRoleGroups.vue
@@ -32,11 +32,13 @@
           ref="table"
           responsive
           selectable
+          show-empty
           no-select-on-click
           no-sort-reset
           sort-icon-left
           :items="tableItems"
           :fields="fields"
+          :empty-text="$t('global.table.emptyMessage')"
           @row-selected="onRowSelected($event, tableItems.length)"
         >
           <!-- Checkbox column -->
-- 
cgit v1.2.3

