You've already forked haproxy-wi
mirror of
https://github.com/roxy-wi/roxy-wi.git
synced 2025-12-18 12:04:07 +08:00
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.
This commit is contained in:
@@ -152,7 +152,7 @@ function showLog() {
|
||||
file = file_from_get;
|
||||
}
|
||||
}
|
||||
if (file === undefined || file === null) {
|
||||
if ((file === undefined || file === null) && waf === '') {
|
||||
toastr.warning('Select a log file first')
|
||||
return false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user