mirror of
https://github.com/langgenius/dify.git
synced 2026-05-04 17:38:04 +08:00
refactor: rename ACCOUNT_SETTING_TAB.PROVIDER to MODEL_PROVIDER
Rename the constant for clarity and consistency with the new sandbox-provider tab naming convention. Update all references across the codebase to use the new constant name.
This commit is contained in:
@ -50,7 +50,7 @@ const ModerationSettingModal: FC<ModerationSettingModalProps> = ({
|
||||
const { setShowAccountSettingModal } = useModalContext()
|
||||
const handleOpenSettingsModal = () => {
|
||||
setShowAccountSettingModal({
|
||||
payload: ACCOUNT_SETTING_TAB.PROVIDER,
|
||||
payload: ACCOUNT_SETTING_TAB.MODEL_PROVIDER,
|
||||
onCancelCallback: () => {
|
||||
refetchModelProviders()
|
||||
},
|
||||
@ -281,7 +281,7 @@ const ModerationSettingModal: FC<ModerationSettingModalProps> = ({
|
||||
>
|
||||
|
||||
{t('settings.provider', { ns: 'common' })}
|
||||
|
||||
|
||||
</span>
|
||||
{t('feature.moderation.modal.openaiNotConfig.after', { ns: 'appDebug' })}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user