From a6a730f7e5f923725683f6722900525bb478d004 Mon Sep 17 00:00:00 2001 From: "Jingwei.Zhang" Date: Wed, 28 Sep 2022 17:51:55 +0800 Subject: [PATCH] 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 --- src/stores/neutron/static-route.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/stores/neutron/static-route.js b/src/stores/neutron/static-route.js index e98380c8..04ca6502 100644 --- a/src/stores/neutron/static-route.js +++ b/src/stores/neutron/static-route.js @@ -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,