adding icon in prompt
This commit is contained in:
@@ -75,6 +75,7 @@ const destroy = async (role, refresh) => {
|
|||||||
const response = await Swal.fire({
|
const response = await Swal.fire({
|
||||||
title: 'Are you sure?',
|
title: 'Are you sure?',
|
||||||
text: 'You can\'t restore it after deleted',
|
text: 'You can\'t restore it after deleted',
|
||||||
|
icon: 'question',
|
||||||
showCancelButton: true,
|
showCancelButton: true,
|
||||||
showCloseButton: true,
|
showCloseButton: true,
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user