CloudWatch: Prevent log groups from being removed on query change (#61891)

This commit is contained in:
Isabella Siu authored and GitHub committed 2023-01-24 09:05:41 -05:00
1 parent d54cda62a3
commit 814e485dd3
1 file changed
+1
@@ -237,6 +237,7 @@ export default class LogsCheatSheet extends PureComponent<
region: this.props.query.region,
id: this.props.query.refId ?? 'A',
logGroupNames: 'logGroupNames' in this.props.query ? this.props.query.logGroupNames : [],
logGroups: 'logGroups' in this.props.query ? this.props.query.logGroups : [],
})
}
>