mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-06-01 05:52:28 +00:00
fix: Quick tips banner incorrectly states 0 disables alerts, should be -1
The Quick tips banner on the Alerts page said "Set any threshold to 0" but the actual code uses -1 to disable alerts. The tooltips on individual fields were correct; only the top-of-page banner was wrong. Related to #843
This commit is contained in:
parent
ae70020290
commit
40b272bb24
1 changed files with 1 additions and 1 deletions
|
|
@ -2200,7 +2200,7 @@ export function ThresholdsTable(props: ThresholdsTableProps) {
|
|||
<div class="text-sm text-blue-900 dark:text-blue-100">
|
||||
<span class="font-medium">Quick tips:</span> Set any threshold to{' '}
|
||||
<code class="px-1 py-0.5 bg-blue-100 dark:bg-blue-900/50 rounded text-xs font-mono">
|
||||
0
|
||||
-1
|
||||
</code>{' '}
|
||||
to disable alerts for that metric. Click on disabled thresholds showing{' '}
|
||||
<span class="italic">Off</span> to re-enable them. Resources with custom settings show a{' '}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue