This commit is contained in:
@@ -754,11 +754,11 @@ function initNavPanel() {
|
||||
}
|
||||
|
||||
async function getUserOptions() {
|
||||
let res = await window.$gz.api.get(
|
||||
"user-option/" + window.$gz.store.state.userId
|
||||
);
|
||||
// eslint-disable-next-line
|
||||
try {
|
||||
let res = await window.$gz.api.get(
|
||||
"user-option/" + window.$gz.store.state.userId
|
||||
);
|
||||
|
||||
if (res.error) {
|
||||
//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
|
||||
|
||||
Reference in New Issue
Block a user