Don't try updating if no description

This commit is contained in:
Benjamin Lannon 2021-05-29 11:25:08 -04:00
commit 847b8a89ca
2 changed files with 2 additions and 2 deletions

View file

@ -94,7 +94,7 @@ function diffLabels(oldLabels, newLabels) {
if ( if (
oldLabel.color !== newLabel.color || oldLabel.color !== newLabel.color ||
oldLabel.description !== newLabel.description (typeof newLabel.description !== 'undefined' && oldLabel.description !== newLabel.description)
) { ) {
console.log('update') console.log('update')
console.log({ oldLabel }) console.log({ oldLabel })

File diff suppressed because one or more lines are too long