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