Skip to content

Conversation

@shanmukhm
Copy link
Contributor

No description provided.

@motech-gerrit
Copy link

Can one of the admins verify this patch?

3 similar comments
@motech-gerrit
Copy link

Can one of the admins verify this patch?

@motech-gerrit
Copy link

Can one of the admins verify this patch?

@motech-gerrit
Copy link

Can one of the admins verify this patch?

$scope.rollback = false;
}
} else if (newValue !== undefined && newValue.name === "") {
} else if (newValue && newValue.name === "") {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While at it, can we change this to (newValue && newValue.name) ? I hate these === "", they just cause issues

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@pgesek we are checking whether newValue.name is empty. So, shouldn't it be (newValue && !newValue.name)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants