diff --git a/src/components/providers/OpenAISection/OpenAISection.tsx b/src/components/providers/OpenAISection/OpenAISection.tsx index c4e13f8..6c51ecc 100644 --- a/src/components/providers/OpenAISection/OpenAISection.tsx +++ b/src/components/providers/OpenAISection/OpenAISection.tsx @@ -325,7 +325,7 @@ export function OpenAISection({ onClick={toggleSortDirection} className={styles.sortDirectionButton} disabled={actionsDisabled} - title={sortDirection === 'asc' ? t('common.sort_ascending') : t('common.sort_descending')} + title={sortDirection === 'asc' ? t('ai_providers.sort_ascending') : t('ai_providers.sort_descending')} > {sortDirection === 'asc' ? '↑' : '↓'} @@ -356,7 +356,7 @@ export function OpenAISection({ ) : ( <> {Array.from(selectedModels).map((name) => ( - + {name} )} + {selectedModels.size > 0 && ( + + )} {renderSortControls()} + )} + /> ) : sortedConfigs.length === 0 ? (