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/SslCertificates/SslCertificates.vue | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

(limited to 'src/views/AccessControl/SslCertificates/SslCertificates.vue')

diff --git a/src/views/AccessControl/SslCertificates/SslCertificates.vue b/src/views/AccessControl/SslCertificates/SslCertificates.vue
index aeb547d7..57275956 100644
--- a/src/views/AccessControl/SslCertificates/SslCertificates.vue
+++ b/src/views/AccessControl/SslCertificates/SslCertificates.vue
@@ -53,7 +53,13 @@
     </b-row>
     <b-row>
       <b-col xl="11">
-        <b-table responsive="md" :fields="fields" :items="tableItems">
+        <b-table
+          responsive="md"
+          show-empty
+          :fields="fields"
+          :items="tableItems"
+          :empty-text="$t('global.table.emptyMessage')"
+        >
           <template v-slot:cell(validFrom)="{ value }">
             {{ value | formatDate }}
           </template>
-- 
cgit v1.2.3

