Skip to content

Conversation

@bharat619
Copy link
Contributor

@bharat619 bharat619 marked this pull request as ready for review June 15, 2020 04:01
@bharat619 bharat619 changed the title Gcw 3167 user mentions GCW-3167 user mentions Jun 15, 2020
@bharat619 bharat619 changed the title GCW-3167 user mentions GCW-3167 User mentions Jun 15, 2020
messages = this.get("isItemThread") ?
messages.filterBy("itemId", this.get("item.id")) :
messages
messages = this.get("isItemThread")
Copy link
Member

Choose a reason for hiding this comment

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

Syntax: better to use if { } else {} for multi-line statements. Ternary is useful for single line.
cc @patrixr for an opinion

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants