Address review comments

pull/645/head
Maxim Shishmarev 5 years ago
parent 8ea82b14e3
commit 56bb2ed792

@ -449,12 +449,9 @@
getPropsForGroupInvitation() {
const invitation = this.get('group_invitation');
let direction = 'incoming';
if (this.get('direction')) {
direction = this.get('direction');
} else if (this.get('type') === 'outgoing') {
direction = 'outgoing';
let direction = this.get('direction');
if (!direction) {
direction = this.get('type') === 'outgoing' ? 'outgoing' : 'incoming';
}
return {

Loading…
Cancel
Save