fix: saving of invalid profile name on leave #1101
When you leave profile edition page and click save option when leaving, this saves profile even if the profile name is duplicate
Save changes if profile name isn't a duplicate
Types of changes
@@ Coverage Diff @@ ## develop #1101 +/- ## =========================================== - Coverage 40.17% 40.13% -0.04% =========================================== Files 231 231 Lines 6362 6368 +6 Branches 1246 1248 +2 =========================================== Hits 2556 2556 - Misses 3585 3591 +6 Partials 221 221
alexbarnsley left a comment
Thanks @kalgoop. This certainly fixes the issue, but I believe it provides a poor user experience. It needs to tell the user either on the "ignore" confirmation or when when they choose "No, save them" that it wasn't able to save the name due to an error with the name that they chose. Could you change this please.