(js) Check for undefined priority in cmpt editor

pull/207/head
Francis Lachapelle 2016-05-06 14:18:32 -04:00
parent c5eeadf041
commit f2903db43c
1 changed files with 1 additions and 1 deletions

View File

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