PMCORE-3240:UI highlight marker in the menu (inbox, draft, paused and unnassigned)

This commit is contained in:
fabio
2021-08-26 20:29:51 -04:00
parent 86901512ff
commit 531fd71cb5
4 changed files with 91 additions and 12 deletions

View File

@@ -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
}
});
}
};