mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-14 01:25:53 +08:00
fix: fixed panelType when creating alerts from histogram dashboard (#5251)
* fix: fixed panelType when creating alerts from histogram dashboard * fix: added PANEL_TYPES.TIME_SERIES always for all type in case of alerts
This commit is contained in:
parent
cf7bf32ac2
commit
45d6430ab3
@ -77,7 +77,8 @@ function FormAlertRules({
|
||||
|
||||
const urlQuery = useUrlQuery();
|
||||
|
||||
const panelType = urlQuery.get(QueryParams.panelTypes) as PANEL_TYPES | null;
|
||||
// In case of alert the panel types should always be "Graph" only
|
||||
const panelType = PANEL_TYPES.TIME_SERIES;
|
||||
|
||||
const {
|
||||
currentQuery,
|
||||
|
Loading…
x
Reference in New Issue
Block a user