Set a help text when a readonly prometheus has no examplars configuration (#66713)

This commit is contained in:
Ludovic Viaud
2023-04-18 20:19:13 +09:00
committed by GitHub
parent 9fad5d938d
commit f3fcc31277

View File

@@ -57,6 +57,8 @@ export function ExemplarsSettings({ options, onChange, disabled }: Props) {
Add
</Button>
)}
{disabled && !options && <i>No exemplars configurations</i>}
</>
);
}