mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-08 22:45:45 +01:00
Bootstrapped AddGroup and GroupForm
This commit is contained in:
@@ -6,5 +6,9 @@
|
|||||||
"groups": {
|
"groups": {
|
||||||
"title": "Groups",
|
"title": "Groups",
|
||||||
"subtitle": "Create, read, update and delete 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 SingleUser from "../users/containers/SingleUser";
|
||||||
|
|
||||||
import Groups from "../groups/containers/Groups";
|
import Groups from "../groups/containers/Groups";
|
||||||
|
import AddGroup from "../groups/containers/AddGroup"
|
||||||
|
|
||||||
type Props = {
|
type Props = {
|
||||||
authenticated?: boolean
|
authenticated?: boolean
|
||||||
@@ -61,6 +62,11 @@ class Main extends React.Component<Props> {
|
|||||||
component={Groups}
|
component={Groups}
|
||||||
authenticated={authenticated}
|
authenticated={authenticated}
|
||||||
/>
|
/>
|
||||||
|
<ProtectedRoute
|
||||||
|
authenticated={authenticated}
|
||||||
|
path="/groups/add"
|
||||||
|
component={AddGroup}
|
||||||
|
/>
|
||||||
</Switch>
|
</Switch>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user