fix unsubscribe

This commit is contained in:
chsakell
2016-10-05 10:39:52 +03:00
parent bfb8cd2620
commit f11351b523
4 changed files with 11 additions and 4 deletions

View File

@@ -12,7 +12,7 @@
</tr>
<tr>
<td colspan="2">
<div class="feed-table">
<div class="chat-table">
<table class="table table-striped">
<thead>
<tr>

View File

@@ -22,7 +22,7 @@
<button type="button" class="btn btn-default btn-md" (click)="setSubscription(true)" *ngIf="!subscribed">
Subscribe to feed
</button>
<button type="button" class="btn btn-danger btn-md" (click)="unsubscribe(false)" *ngIf="subscribed">
<button type="button" class="btn btn-danger btn-md" (click)="setSubscription(false)" *ngIf="subscribed">
Unubscribe
</button>
</td>