Commit 188167d2 authored by Olivia Madrid's avatar Olivia Madrid

(wip): referrals console - delete test modal component

1 merge request!388WIP: epic/referrals
Pipeline #68864063 failed with stages
in 14 minutes and 46 seconds
......@@ -9,7 +9,6 @@
<i class="material-icons mdl-color-text--blue-grey-100" [hidden]="live">sync_problem</i>
<i class="material-icons"
(click)="ribbonToggle()"
[ngClass]="{ 'm-status-active': ribbon.open }"
>more_vert</i>
<i class="material-icons" (click)="dockpanes.close(conversation)">close</i>
</div>
......
......@@ -375,4 +375,7 @@ export class MessengerConversation {
// otherwise if you click the icon when closed it opens the container
// but ribbon is closed
// OR allow dockpane and ribbon to open independently of one another
// removed this from html [ngClass]="{ 'm-status-active': ribbon.open }"
}
import { Component, EventEmitter } from '@angular/core';
import { ReferralsLinksComponent } from '../../wallet/tokens/referrals/links/links.component';
@Component({
selector: 'm-modal-referrals',
inputs: ['open'],
outputs: ['closed'],
template: `
<m-modal class="m-modal-referrals" [open]="open" (closed)="close($event)">
<m-referrals--links [isModal]="true"></m-referrals--links>
</m-modal>
`
})
export class ReferralsModal {
open: boolean = false;
closed: EventEmitter<any> = new EventEmitter();
constructor() { }
ngOnInit() {
}
close(e?) {
this.open = false;
this.closed.next(true);
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment