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:
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user