better flow when trying to re-add an existing service

This commit is contained in:
Jonathan Lamothe 2018-12-31 14:33:23 -05:00
parent 4fb0920e88
commit 7e23d70a63

View File

@ -77,7 +77,7 @@ addPassword = do
"The service already exists in the database.\n" ++ "The service already exists in the database.\n" ++
"Would you like to edit it?") "Would you like to edit it?")
if edit if edit
then doEditPolicy svc then servMenu svc
else mainMenu else mainMenu
else do else do
d <- buildData d <- buildData