1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-08-31 06:34:40 +00:00

language select not need clear icon (#7217)

This commit is contained in:
Michael An
2024-12-19 10:56:18 +08:00
committed by GitHub
parent 3061e1f88d
commit e90e9d1658
3 changed files with 3 additions and 0 deletions

View File

@@ -95,6 +95,7 @@
.group-select .selected-option-show .selected-option-item .selected-option-item-name {
font-size: 13px;
color: #212529;
}
.group-select .selected-option-show .selected-option-item .sf2-icon-close {

View File

@@ -29,6 +29,7 @@ class LanguageSetting extends React.Component {
value={{ value: currentLang.langCode, label: currentLang.langName }}
options={options}
onChange={this.onSelectChange}
isClearable={false}
/>
</div>
);

View File

@@ -101,6 +101,7 @@ const MetadataTagsStatusDialog = ({ value: oldValue, lang: oldLang, repoID, togg
value={langOptions.find(o => o.value === lang) || langOptions[1]}
options={langOptions}
onChange={onSelectChange}
isClearable={false}
/>
</div>
)}