diff --git a/src/module/alertModal.js b/src/module/alertModal.js index ea2816c..2acd51a 100644 --- a/src/module/alertModal.js +++ b/src/module/alertModal.js @@ -90,8 +90,7 @@ export async function saveFilter(addFilterId, next = null) { * @param {string} value - The name of the saved file. * @returns {Promise} */ -export async function savedSuccessfully(value) { - value = value || ""; +export async function savedSuccessfully(value = "") { await Swal.fire({ title: "SAVE COMPLETE", html: `${escapeHtml(value)} has been saved in Lucia.`,