From a26ab9f60314420aad1c7d2a328d299f503532fa Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Sun, 11 Feb 2024 12:43:13 +0530 Subject: removed annoying notifications on HTTP 204 --- src/views/AllBrands.vue | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/views') diff --git a/src/views/AllBrands.vue b/src/views/AllBrands.vue index ad456cd..be1e122 100644 --- a/src/views/AllBrands.vue +++ b/src/views/AllBrands.vue @@ -21,8 +21,6 @@ const getAllBrands = async () => { const res = await axios.get('/brand') if (res.status === 200) { allBrands.value = res.data.data - } else if (res.status === 204) { - toast.warning('No records found') } } catch (err) { toast.error('An unhandled exception occoured. Please check logs') @@ -39,5 +37,5 @@ onMounted(() => { -- cgit v1.2.3