From 2c47bb80483d790310005f01006f572f641b0d80 Mon Sep 17 00:00:00 2001 From: Wahyu Ramadhan Date: Mon, 3 Apr 2023 13:04:55 +0700 Subject: [PATCH] Task #860q7btm6 changing error message --- src/views/SimproV2/ResourceWorker/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/SimproV2/ResourceWorker/index.js b/src/views/SimproV2/ResourceWorker/index.js index b7a4e35..486e8dd 100644 --- a/src/views/SimproV2/ResourceWorker/index.js +++ b/src/views/SimproV2/ResourceWorker/index.js @@ -429,7 +429,7 @@ const ResourceWorker = ({ params }) => { getDataUser(); NotificationManager.success(`Data resource berhasil diedit`, 'Success!!'); } else { - NotificationManager.error(`Data resource gagal di edit`, `Failed!!`); + NotificationManager.error(`${result.data.message}`, `Failed!!`); } }