Fix deleting port from port details page
This patch fixes "Delete port" button at the port details page:
Project -> Network -> Networks -> <network name> -> Ports -> <port name>
Change-Id: I84f4da9c84d75c458b54bd456cbc7b92b303ba81
Closes-Bug: #1854514
(cherry picked from commit 18020e30b6
)
This commit is contained in:
parent
b22a1e39c4
commit
4ce46d8950
|
@ -153,7 +153,8 @@ class DetailView(tabs.TabbedTableView):
|
||||||
]
|
]
|
||||||
context["custom_breadcrumb"] = breadcrumb
|
context["custom_breadcrumb"] = breadcrumb
|
||||||
context["port"] = port
|
context["port"] = port
|
||||||
context["url"] = self.get_redirect_url()
|
context["url"] = reverse(
|
||||||
|
'horizon:project:networks:ports_tab', args=[port.network_id])
|
||||||
context["actions"] = table.render_row_actions(port)
|
context["actions"] = table.render_row_actions(port)
|
||||||
return context
|
return context
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue