Commit 22cdcf0e by Bach Dániel

dashboard: add missing redirect to __remove_tag()

parent 4a836955
...@@ -337,6 +337,9 @@ class VmDetailView(CheckedDetailView): ...@@ -337,6 +337,9 @@ class VmDetailView(CheckedDetailView):
json.dumps({'message': message}), json.dumps({'message': message}),
content_type="application=json" content_type="application=json"
) )
else:
return redirect(reverse_lazy("dashboard.views.detail",
kwargs={'pk': self.object.pk}))
def __add_port(self, request): def __add_port(self, request):
object = self.get_object() object = self.get_object()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment