mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
[Dataset Quality] Make integration icons path optional (#190760)
## 📓 Summary Closes #190431 This is a quick fix to apply correct decoding of the integration icons, given their `path` property might not exist. | **Before** | **After** | |--------|--------| | <img width="362" alt="before" src="https://github.com/user-attachments/assets/60f48767-9905-446e-a5d7-58fca9fb0ba8"> | <img width="381" alt="after" src="https://github.com/user-attachments/assets/57b5b456-ae58-4b21-8ee4-9a03e4fa6b4c"> | Co-authored-by: Marco Antonio Ghiani <marcoantonio.ghiani@elastic.co>
This commit is contained in:
parent
929d4078b0
commit
af6f4102aa
1 changed files with 2 additions and 2 deletions
|
@ -52,12 +52,12 @@ export type IntegrationDashboardsResponse = rt.TypeOf<typeof integrationDashboar
|
|||
|
||||
export const integrationIconRt = rt.intersection([
|
||||
rt.type({
|
||||
path: rt.string,
|
||||
src: rt.string,
|
||||
}),
|
||||
rt.partial({
|
||||
title: rt.string,
|
||||
path: rt.string,
|
||||
size: rt.string,
|
||||
title: rt.string,
|
||||
type: rt.string,
|
||||
}),
|
||||
]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue