semantic update
This commit is contained in:
@@ -52,6 +52,8 @@ export const REPORT_TYPE_PROFILES = {
|
||||
// @POST: Returns one profile object.
|
||||
export function getReportTypeProfile(taskType) {
|
||||
const key = typeof taskType === 'string' ? taskType : 'unknown';
|
||||
console.log("[reports][ui][getReportTypeProfile][STATE:START]");
|
||||
console.log("[reports][ui][getReportTypeProfile] Resolved type '" + taskType + "' to profile '" + key + "'");
|
||||
return REPORT_TYPE_PROFILES[key] || REPORT_TYPE_PROFILES.unknown;
|
||||
}
|
||||
// [/DEF:getReportTypeProfile:Function]
|
||||
|
||||
Reference in New Issue
Block a user