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:
@@ -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 {
|
||||
|
@@ -29,6 +29,7 @@ class LanguageSetting extends React.Component {
|
||||
value={{ value: currentLang.langCode, label: currentLang.langName }}
|
||||
options={options}
|
||||
onChange={this.onSelectChange}
|
||||
isClearable={false}
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
|
@@ -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>
|
||||
)}
|
||||
|
Reference in New Issue
Block a user