fix: fix select static router
Fix select static router in the static routers tab in the router detail page, add a mock id. Closes-Bug: #1991086 Change-Id: I2598091580d67afb3bc16f6fd726ab1325025114
This commit is contained in:
parent
cd72ae0ae1
commit
a6a730f7e5
@ -38,6 +38,7 @@ export class StaticRouteStore extends Base {
|
||||
const { routes = [] } = data;
|
||||
routes.forEach((it) => {
|
||||
it.router_id = id;
|
||||
it.id = `${it.destination} - ${it.nexthop}`;
|
||||
});
|
||||
this.list.update({
|
||||
data: routes,
|
||||
|
Loading…
Reference in New Issue
Block a user