PMCORE-3240:UI highlight marker in the menu (inbox, draft, paused and unnassigned)
This commit is contained in:
@@ -42,5 +42,21 @@ export let menu = {
|
||||
"Accept-Language": window.config.SYS_LANG
|
||||
}
|
||||
});
|
||||
},
|
||||
/**
|
||||
* Get the highlight
|
||||
* @returns
|
||||
*/
|
||||
getHighlight() {
|
||||
return axios.get(
|
||||
window.config.SYS_SERVER_API +
|
||||
'/api/1.0/' +
|
||||
window.config.SYS_WORKSPACE +
|
||||
'/home/tasks/highlight', {
|
||||
headers: {
|
||||
'Authorization': 'Bearer ' + window.config.SYS_CREDENTIALS.accessToken,
|
||||
"Accept-Language": window.config.SYS_LANG
|
||||
}
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user