This commit is contained in:
2019-06-06 18:15:18 +00:00
parent 629b93295e
commit f894c012b5
3 changed files with 36 additions and 11 deletions

View File

@@ -86,7 +86,7 @@ export default function initialize() {
api
.get("UserOptions/" + store.state.userId)
.then(res => {
if (res.error) {
if (res.error != undefined) {
//In a form this would trigger a bunch of validation or error display code but for here and now:
//convert error to human readable string for display and popup a notification to user
var msg = api.apiErrorToHumanString(res.error);