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

This commit is contained in:
Isabella Siu 2023-01-24 09:05:41 -05:00 committed by GitHub
parent d54cda62a3
commit 814e485dd3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 : [],
})
}
>