utils: fix typo in showAlert()

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
This commit is contained in:
XhmikosR
2025-04-16 10:05:02 +03:00
parent 380c31f4cf
commit a95f6c88ae

View File

@@ -101,7 +101,7 @@ function showAlert(type, icon, title, message, toast) {
};
switch (type) {
case "info":
options.icon = icon !== null && icon.len > 0 ? icon : "fas fa-clock";
options.icon = icon !== null && icon.length > 0 ? icon : "fas fa-clock";
break;
case "success":