restore accidentally-committed change

This restores `eventsRestEndpoint` to its proper state.

Signed-off-by: Mike Ball <mikedball@gmail.com>
This commit is contained in:
Mike Ball
2022-02-23 15:23:09 -05:00
parent 59864eaebe
commit 7b45dd6f92
@@ -129,7 +129,7 @@ export const EntitySplunkOnCallCard = ({ readOnly }: Props) => {
: undefined;
const eventsRestEndpoint =
config.getOptionalString('splunkOnCall.eventsRestEndpoint') || true;
config.getOptionalString('splunkOnCall.eventsRestEndpoint') || null;
const handleRefresh = useCallback(() => {
setRefreshIncidents(x => !x);