A light weight PHP PDO SQLite3 KanBan Board.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
mykanban2/assets/js/view/Priority.js

21 lines
472 B

export default class Priority {
static get_priority(level) {
const priorities = [
"p-None",
"p-Low",
"p-Minor",
"p-Moderate",
"p-Medium",
"p-Average",
"p-Important",
"p-High",
"p-Critical",
"p-Top",
"p-Urgent"
];
const numericLevel = Number(level);
return priorities[numericLevel] ?? "p-None";
}
}