Browse Source

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)
changes/47/697047/2
Tatiana Ovchinnikova 2 months ago
parent
commit
4ce46d8950
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      openstack_dashboard/dashboards/project/networks/ports/views.py

+ 2
- 1
openstack_dashboard/dashboards/project/networks/ports/views.py View File

@@ -153,7 +153,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


Loading…
Cancel
Save