Fixing move-profile redirect URL

This commit is contained in:
Marat Fayzullin 2024-03-25 12:45:57 -04:00
parent e3434ccfbe
commit dcc0394ade
1 changed files with 1 additions and 1 deletions

View File

@ -443,7 +443,7 @@ class SdrProfileController(SdrFormControllerWithModal):
del self.device["profiles"][id]
self.device["profiles"][id] = profile
config.store()
return self.send_redirect("{}settings/sdr/{}".format(self.get_document_root(), quote(self.device_id)))
return self.send_redirect("{}settings/sdr/{}/profile/{}".format(self.get_document_root(), quote(self.device_id), quote(self.profile_id)))
class NewProfileController(SdrProfileController):