Skip to content

Commit

Permalink
Fix monitor typo
Browse files Browse the repository at this point in the history
  • Loading branch information
veniware committed May 14, 2024
1 parent c55d39b commit 263ce75
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Protest/Front/monitor.js
Original file line number Diff line number Diff line change
Expand Up @@ -1255,9 +1255,9 @@ class Monitor extends Window {
isDynamic: dynamicInput.checked,
};

if (option.max === null || option.max.length === 0) {
if (options.max === null || options.max.length === 0) {
options.max = 100;
option.isDynamic = true;
options.isDynamic = true;
}

this.AddChart(nameInput.value, queryInput.value, options);
Expand Down

0 comments on commit 263ce75

Please sign in to comment.