mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-08 06:48:51 +00:00
(js) Check for undefined priority in cmpt editor
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user