Merge "Fix deleting port from port details page" into stable/rocky

This commit is contained in:
Zuul 2019-12-09 13:00:08 +00:00 committed by Gerrit Code Review
commit 0fcd0723ac
1 changed files with 2 additions and 1 deletions

View File

@ -138,7 +138,8 @@ class DetailView(tabs.TabbedTableView):
]
context["custom_breadcrumb"] = breadcrumb
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)
return context