mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-13 00:45:44 +01:00
change order of permission types
This commit is contained in:
@@ -1,9 +1,7 @@
|
|||||||
// @flow
|
// @flow
|
||||||
import React from "react";
|
import React from "react";
|
||||||
import { translate } from "react-i18next";
|
import { translate } from "react-i18next";
|
||||||
import {
|
import { Select } from "@scm-manager/ui-components";
|
||||||
Select
|
|
||||||
} from "@scm-manager/ui-components";
|
|
||||||
|
|
||||||
type Props = {
|
type Props = {
|
||||||
t: string => string,
|
t: string => string,
|
||||||
@@ -15,7 +13,7 @@ type Props = {
|
|||||||
class TypeSelector extends React.Component<Props> {
|
class TypeSelector extends React.Component<Props> {
|
||||||
render() {
|
render() {
|
||||||
const { type, handleTypeChange, loading } = this.props;
|
const { type, handleTypeChange, loading } = this.props;
|
||||||
const types = ["READ", "OWNER", "WRITE"];
|
const types = ["READ", "WRITE", "OWNER"];
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Select
|
<Select
|
||||||
|
|||||||
Reference in New Issue
Block a user