We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a9dfa14 commit bbdc534Copy full SHA for bbdc534
packages/api/src/tasks/checkAlerts.ts
@@ -494,7 +494,7 @@ export const renderAlertTemplate = async ({
494
displayType: DisplayType.Search,
495
dateRange: [startTime, endTime],
496
from: source.from,
497
- select: savedSearch.select ?? source.defaultTableSelectExpression,
+ select: savedSearch.select || source.defaultTableSelectExpression || '', // remove alert body if there is no select and defaultTableSelectExpression
498
where: savedSearch.where,
499
whereLanguage: savedSearch.whereLanguage,
500
implicitColumnExpression: source.implicitColumnExpression,
0 commit comments