From a26ab9f60314420aad1c7d2a328d299f503532fa Mon Sep 17 00:00:00 2001
From: Vidhu Kant Sharma <vidhukant@vidhukant.com>
Date: Sun, 11 Feb 2024 12:43:13 +0530
Subject: removed annoying notifications on HTTP 204

---
 src/components/brands_table.vue | 4 ++++
 1 file changed, 4 insertions(+)

(limited to 'src/components/brands_table.vue')

diff --git a/src/components/brands_table.vue b/src/components/brands_table.vue
index 20429ec..3a604b1 100644
--- a/src/components/brands_table.vue
+++ b/src/components/brands_table.vue
@@ -32,6 +32,10 @@ const handleDelete = async (id) => {
     </div>
   </div>
 
+  <div v-else-if="props.brands.length === 0" class="w-100 d-flex justify-content-center">
+    <p>No brands added!</p>
+  </div>
+
   <table v-else class="table table-striped table-hover">
     <thead>
       <tr>
-- 
cgit v1.2.3

