Bootstrapped AddGroup and GroupForm

This commit is contained in:
Philipp Czora
2018-07-31 14:43:55 +02:00
parent 729d5f8424
commit b35e10df71
2 changed files with 10 additions and 0 deletions

View File

@@ -6,5 +6,9 @@
"groups": {
"title": "Groups",
"subtitle": "Create, read, update and delete groups"
},
"add-group": {
"title": "Create Group",
"subtitle": "Create a new group"
}
}

View File

@@ -14,6 +14,7 @@ import AddUser from "../users/containers/AddUser";
import SingleUser from "../users/containers/SingleUser";
import Groups from "../groups/containers/Groups";
import AddGroup from "../groups/containers/AddGroup"
type Props = {
authenticated?: boolean
@@ -61,6 +62,11 @@ class Main extends React.Component<Props> {
component={Groups}
authenticated={authenticated}
/>
<ProtectedRoute
authenticated={authenticated}
path="/groups/add"
component={AddGroup}
/>
</Switch>
</div>
);