feat: update delete confirmation dialog title and message in ListDevice component
This commit is contained in:
@@ -151,8 +151,8 @@ const ListDevice = memo(function ListDevice(props) {
|
|||||||
const showDeleteDialog = (param) => {
|
const showDeleteDialog = (param) => {
|
||||||
NotifConfirmDialog({
|
NotifConfirmDialog({
|
||||||
icon: 'question',
|
icon: 'question',
|
||||||
title: 'Konfirmasi',
|
title: 'Konfirmasi Hapus',
|
||||||
message: 'Apakah anda yakin hapus data "' + param.device_name + '" ?',
|
message: 'Device "' + param.device_name + '" akan dihapus?',
|
||||||
onConfirm: () => handleDelete(param.device_id),
|
onConfirm: () => handleDelete(param.device_id),
|
||||||
onCancel: () => props.setSelectedData(null),
|
onCancel: () => props.setSelectedData(null),
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user