mirror of
https://github.com/langgenius/dify.git
synced 2026-05-03 08:58:09 +08:00
fix(sandbox-provider): align frontend types with backend API after refactor
Remove label, description, and icon fields from SandboxProvider type as they are no longer returned by the backend API. Use i18n translations to display provider labels instead of relying on API response data.
This commit is contained in:
@ -5,9 +5,6 @@ export type ConfigSchema = {
|
||||
|
||||
export type SandboxProvider = {
|
||||
provider_type: string
|
||||
label: string
|
||||
description: string
|
||||
icon: string
|
||||
is_system_configured: boolean
|
||||
is_tenant_configured: boolean
|
||||
is_active: boolean
|
||||
|
||||
Reference in New Issue
Block a user