(js) Check for undefined priority in cmpt editor
parent
c5eeadf041
commit
f2903db43c
|
@ -245,7 +245,7 @@
|
|||
}
|
||||
|
||||
function priorityLevel() {
|
||||
if (vm.component.priority) {
|
||||
if (vm.component && vm.component.priority) {
|
||||
if (vm.component.priority > 5)
|
||||
return l('low');
|
||||
else if (vm.component.priority > 4)
|
||||
|
|
Loading…
Reference in New Issue