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> { class TypeSelector extends React.Component<Props> {
render() { render() {
const { t, type, handleTypeChange, loading } = this.props; const { t, type, handleTypeChange, loading } = this.props;
const types = ["READ", "OWNER", "GROUP"]; const types = ["READ", "OWNER", "WRITE"];
return ( return (
<Select <Select
onChange={handleTypeChange} onChange={handleTypeChange}
value={type ? type : ""} value={type ? type : ""}
options={this.createSelectOptions(types)} options={this.createSelectOptions(types)}
loading={loading} loading={loading}
/> />
); );
} }