Refactoring rules description

This commit is contained in:
Angelo Gallarello 2018-09-14 16:49:06 +02:00
parent e649c79bb7
commit fc73dc5bbc
15 changed files with 270 additions and 69 deletions

View file

@ -5,7 +5,6 @@ BlazeComponent.extendComponent({
labels(){
const labels = Boards.findOne(Session.get('currentBoard')).labels;
console.log(labels);
for(let i = 0;i<labels.length;i++){
if(labels[i].name == "" || labels[i].name == undefined){
labels[i].name = labels[i].color.toUpperCase();