Skip to content

Commit

Permalink
fix: не раскрашивать пустые ячейки
Browse files Browse the repository at this point in the history
  • Loading branch information
popstas committed Nov 15, 2018
1 parent d8900f3 commit e6d6534
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -543,6 +543,9 @@ export default {
let result;
if (!site || !site.tests) return '';
// пустые не валидируются
if([undefined, ''].indexOf(site[column]) !== -1) return '';
// проверяет, попадает ли значение под лимиты
const isFits = (value, rules) => {
let valid = true;
Expand Down

0 comments on commit e6d6534

Please sign in to comment.