From f235ee4832fb26f5f327a3fc79e90b34d0f3ab91 Mon Sep 17 00:00:00 2001 From: Raja Oktafrianto Date: Thu, 17 Apr 2025 15:02:15 +0700 Subject: [PATCH] update add notification --- src/pages/notification/blocks/AddDialog.tsx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/pages/notification/blocks/AddDialog.tsx b/src/pages/notification/blocks/AddDialog.tsx index 29063ea..9146d6a 100644 --- a/src/pages/notification/blocks/AddDialog.tsx +++ b/src/pages/notification/blocks/AddDialog.tsx @@ -114,7 +114,7 @@ const AddDialog = () => { e.preventDefault(); if ( - formField.type.trim() === '' || + formField.all_customer.trim() === '' || formField.via.trim() === '' || formField.content.trim() === '' ) { @@ -255,9 +255,7 @@ const AddDialog = () => {
- +
{['info', 'promo'].map((type) => (