correct types

This commit is contained in:
Maren Süwer
2018-09-03 08:34:58 +02:00
parent 429bb9f522
commit 04612617d3

View File

@@ -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}
/>
);
}