Fix showCancelButton using string instead of boolean in renameModal
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -475,7 +475,8 @@ export async function renameModal(rename, type, id, baseName) {
|
|||||||
iconColor: '#0099FF',
|
iconColor: '#0099FF',
|
||||||
reverseButtons: true,
|
reverseButtons: true,
|
||||||
confirmButtonColor: '#0099FF',
|
confirmButtonColor: '#0099FF',
|
||||||
showCancelButton: '#94a3b8',
|
showCancelButton: true,
|
||||||
|
cancelButtonColor: '#94a3b8',
|
||||||
customClass: customClass,
|
customClass: customClass,
|
||||||
didOpen: () => {
|
didOpen: () => {
|
||||||
const confirmButton = Swal.getConfirmButton();
|
const confirmButton = Swal.getConfirmButton();
|
||||||
|
|||||||
Reference in New Issue
Block a user