v8.1.2: Update log file check to include 'waf' condition

Previously, the check for a selected log file didn't account for the 'waf' variable. This update adds a condition to ensure that the warning is triggered only if 'waf' is also an empty string.
pull/411/head
Aidaho 2024-11-19 11:03:54 +03:00
parent 5c28a47cae
commit b49edeb8d1
1 changed files with 1 additions and 1 deletions

View File

@ -152,7 +152,7 @@ function showLog() {
file = file_from_get; file = file_from_get;
} }
} }
if (file === undefined || file === null) { if ((file === undefined || file === null) && waf === '') {
toastr.warning('Select a log file first') toastr.warning('Select a log file first')
return false; return false;