mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
Fix double registry bug (#131239)
This commit is contained in:
parent
78ed6deed4
commit
f476109d57
1 changed files with 3 additions and 0 deletions
|
@ -17,6 +17,9 @@ const registerAlertsTableConfiguration = (
|
|||
registry: AlertsTableConfigurationRegistryContract,
|
||||
storage: Storage
|
||||
) => {
|
||||
if (registry.has(APP_ID)) {
|
||||
return;
|
||||
}
|
||||
const timelineStorage = getTimelinesInStorageByIds(storage, [TimelineId.detectionsPage]);
|
||||
const alertColumns = timelineStorage?.[TimelineId.detectionsPage]?.columns ?? columns;
|
||||
registry.register({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue