Use default parameter instead of reassignment (S7760)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -90,8 +90,7 @@ export async function saveFilter(addFilterId, next = null) {
|
||||
* @param {string} value - The name of the saved file.
|
||||
* @returns {Promise<void>}
|
||||
*/
|
||||
export async function savedSuccessfully(value) {
|
||||
value = value || "";
|
||||
export async function savedSuccessfully(value = "") {
|
||||
await Swal.fire({
|
||||
title: "SAVE COMPLETE",
|
||||
html: `<span class="text-primary">${escapeHtml(value)}</span> has been saved in Lucia.`,
|
||||
|
||||
Reference in New Issue
Block a user