This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user