mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-14 01:15:44 +01:00
correct types
This commit is contained in:
@@ -11,18 +11,17 @@ type Props = {
|
||||
};
|
||||
|
||||
class TypeSelector extends React.Component<Props> {
|
||||
|
||||
render() {
|
||||
const { t, type, handleTypeChange, loading } = this.props;
|
||||
const types = ["READ", "OWNER", "GROUP"];
|
||||
const types = ["READ", "OWNER", "WRITE"];
|
||||
|
||||
return (
|
||||
<Select
|
||||
onChange={handleTypeChange}
|
||||
value={type ? type : ""}
|
||||
options={this.createSelectOptions(types)}
|
||||
loading={loading}
|
||||
/>
|
||||
<Select
|
||||
onChange={handleTypeChange}
|
||||
value={type ? type : ""}
|
||||
options={this.createSelectOptions(types)}
|
||||
loading={loading}
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user