introduce permission type without links

This commit is contained in:
Maren Süwer
2018-08-30 12:30:18 +02:00
parent 2e16186034
commit 429bb9f522
5 changed files with 20 additions and 11 deletions

View File

@@ -3,12 +3,12 @@ import React from "react";
import { translate } from "react-i18next";
import { Checkbox, InputField } from "../../components/forms";
import TypeSelector from "./TypeSelector";
import type { Permission } from "../types/Permissions";
import type {PermissionEntry} from "../types/Permissions";
import { SubmitButton } from "../../components/buttons";
type Props = {
t: string => string,
createPermission: (permission: Permission) => void,
createPermission: (permission: PermissionEntry) => void,
loading: boolean
};