mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-08 14:35:45 +01:00
Bootstrapped AddGroup and GroupForm
This commit is contained in:
@@ -6,5 +6,9 @@
|
||||
"groups": {
|
||||
"title": "Groups",
|
||||
"subtitle": "Create, read, update and delete groups"
|
||||
},
|
||||
"add-group": {
|
||||
"title": "Create Group",
|
||||
"subtitle": "Create a new group"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user