mirror of
https://github.com/grafana/grafana.git
synced 2026-07-30 00:08:10 -05:00
adds pending filter for alert list page
This commit is contained in:
@@ -29,6 +29,7 @@ export class AlertRuleList extends PureComponent<Props, any> {
|
|||||||
{ text: 'Alerting', value: 'alerting' },
|
{ text: 'Alerting', value: 'alerting' },
|
||||||
{ text: 'No Data', value: 'no_data' },
|
{ text: 'No Data', value: 'no_data' },
|
||||||
{ text: 'Paused', value: 'paused' },
|
{ text: 'Paused', value: 'paused' },
|
||||||
|
{ text: 'Pending', value: 'pending' },
|
||||||
];
|
];
|
||||||
|
|
||||||
componentDidMount() {
|
componentDidMount() {
|
||||||
|
|||||||
@@ -81,6 +81,12 @@ exports[`Render should render alert rules 1`] = `
|
|||||||
>
|
>
|
||||||
Paused
|
Paused
|
||||||
</option>
|
</option>
|
||||||
|
<option
|
||||||
|
key="pending"
|
||||||
|
value="pending"
|
||||||
|
>
|
||||||
|
Pending
|
||||||
|
</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -230,6 +236,12 @@ exports[`Render should render component 1`] = `
|
|||||||
>
|
>
|
||||||
Paused
|
Paused
|
||||||
</option>
|
</option>
|
||||||
|
<option
|
||||||
|
key="pending"
|
||||||
|
value="pending"
|
||||||
|
>
|
||||||
|
Pending
|
||||||
|
</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user