1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-09 10:50:24 +00:00

Fix select UI (#5780)

* fix repo api permission value

* fix transfer repo dialog select

* fix create repo dialog select template or storage

* fix data type check and text
This commit is contained in:
Michael An
2023-11-21 15:35:17 +08:00
committed by GitHub
parent 589b2ac208
commit eefbc643c6
5 changed files with 20 additions and 8 deletions

View File

@@ -70,6 +70,7 @@ class RepoAPITokenPermissionEditor extends React.Component {
placeholder={optionTranslation}
onChange={this.onPermissionChanged}
captureMenuScroll={false}
value={this.options.find(opt => opt.value === currentPermission) || null}
/>
}
</div>