1
0
mirror of https://github.com/alice-lg/alice-lg.git synced 2024-05-11 05:55:03 +00:00

link helper

This commit is contained in:
Matthias Hannig
2018-08-05 15:44:12 +02:00
parent d83992bc8c
commit 803ee883e8

View File

@ -36,3 +36,12 @@ export const makeLinkProps = function(props) {
return linkTo;
}
export const makePeerLinkProps = function(rsId, protocolId) {
const linkTo = {
pathname: `/routeservers/${rsId}/protocols/${protocolId}/routes`,
};
return linkTo;
}