forked from phoenix/litellm-mirror
ui - show all alert types
This commit is contained in:
parent
825622d120
commit
48e53984c0
1 changed files with 2 additions and 2 deletions
|
@ -182,7 +182,7 @@ const Settings: React.FC<SettingsPageProps> = ({
|
||||||
</li>
|
</li>
|
||||||
))}
|
))}
|
||||||
</ul>
|
</ul>
|
||||||
{callback.alerting_types && (
|
{callback.all_alert_types && (
|
||||||
<div>
|
<div>
|
||||||
<Text className="mt-2">Alerting Types</Text>
|
<Text className="mt-2">Alerting Types</Text>
|
||||||
<Select
|
<Select
|
||||||
|
@ -193,7 +193,7 @@ const Settings: React.FC<SettingsPageProps> = ({
|
||||||
onChange={handleChange}
|
onChange={handleChange}
|
||||||
defaultValue={callback.alerting_types}
|
defaultValue={callback.alerting_types}
|
||||||
>
|
>
|
||||||
{callback.alerting_types.map((type: string) => (
|
{callback.all_alert_types.map((type: string) => (
|
||||||
<Select.Option key={type} value={type} label={type}>
|
<Select.Option key={type} value={type} label={type}>
|
||||||
{type}
|
{type}
|
||||||
</Select.Option>
|
</Select.Option>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue