Fix zero rule level on ruleset tab

This commit is contained in:
Jesús Ángel González 2018-03-07 09:46:05 +01:00 committed by Javier Castro
parent f30fe4464f
commit 008ccdf3f4

View File

@ -29,7 +29,8 @@ app.directive('wzTable',function(){
scope.func(obj);
}
scope.parseItem = (item,key) => {
let tmp = key;
if(scope.isruleset && key.col === 'level' && item.level === 0) return '0';
let tmp = key;
if(key.col) {
tmp = key.col;
}