From 539c204bde298159d69bf3636d3c52fa5a689bde Mon Sep 17 00:00:00 2001 From: fahed Date: Mon, 9 Mar 2026 14:28:38 +0300 Subject: [PATCH] fix: add delete button inside brand edit modal Co-Authored-By: Claude Opus 4.6 --- client/src/pages/Brands.jsx | 38 +++++++++++++++++++++++-------------- 1 file changed, 24 insertions(+), 14 deletions(-) diff --git a/client/src/pages/Brands.jsx b/client/src/pages/Brands.jsx index 961811c..9bf0947 100644 --- a/client/src/pages/Brands.jsx +++ b/client/src/pages/Brands.jsx @@ -297,20 +297,30 @@ export default function Brands() { )} -
- - +
+ {editingBrand && isSuperadminOrManager ? ( + + ) :
} +
+ + +