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
49c30ea412
commit
aca2534a1a
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">
|
<div class="text-sm text-blue-900 dark:text-blue-100">
|
||||||
<span class="font-medium">Quick tips:</span> Set any threshold to{' '}
|
<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">
|
<code class="px-1 py-0.5 bg-blue-100 dark:bg-blue-900/50 rounded text-xs font-mono">
|
||||||
0
|
-1
|
||||||
</code>{' '}
|
</code>{' '}
|
||||||
to disable alerts for that metric. Click on disabled thresholds showing{' '}
|
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{' '}
|
<span class="italic">Off</span> to re-enable them. Resources with custom settings show a{' '}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue