PMCORE-3065

Corrections

CR

Corrections

remove ref
This commit is contained in:
fabio
2021-07-22 16:12:03 -04:00
parent 0585f8fd8d
commit 16a16e2ec6
3 changed files with 94 additions and 2 deletions

View File

@@ -25,5 +25,22 @@ export let menu = {
"Accept-Language": window.config.SYS_LANG
}
});
},
/**
* Get the counter of a specific task
* @param {string} task
* @returns
*/
getTooltip(task) {
return axios.get(
window.config.SYS_SERVER_API +
'/api/1.0/' +
window.config.SYS_WORKSPACE +
'/home/'+ task +'/counter', {
headers: {
'Authorization': 'Bearer ' + window.config.SYS_CREDENTIALS.accessToken,
"Accept-Language": window.config.SYS_LANG
}
});
}
};