Skip to content

Commit

Permalink
Prevent editing/creation of these in the alerts management UI (#77097)
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisronline authored Sep 10, 2020
1 parent 52fba21 commit 0207f82
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ export function createCpuUsageAlertType(): AlertTypeModel {
),
validate,
defaultActionMessage: '{{context.internalFullMessage}}',
requiresAppContext: false,
requiresAppContext: true,
};
}
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export function createLegacyAlertTypes(): AlertTypeModel[] {
),
defaultActionMessage: '{{context.internalFullMessage}}',
validate: () => ({ errors: {} }),
requiresAppContext: false,
requiresAppContext: true,
};
});
}

0 comments on commit 0207f82

Please sign in to comment.