More webapp changes+fixes
This commit is contained in:
+23
-10
@@ -27,16 +27,29 @@
|
||||
Deactivate
|
||||
</button>
|
||||
}
|
||||
<button
|
||||
nz-button
|
||||
nzDanger
|
||||
nz-popconfirm
|
||||
nzPopconfirmTitle="Are you sure you want to delete this subscription?"
|
||||
(nzOnConfirm)="deleteSubscription()"
|
||||
>
|
||||
<span nz-icon nzType="delete"></span>
|
||||
Delete
|
||||
</button>
|
||||
@if (expertMode() && isOutgoing() && subscription()!.confirmed && subscription()!.active) {
|
||||
<button
|
||||
nz-button
|
||||
nz-popconfirm
|
||||
nzPopconfirmTitle="Set this subscription to inactive? You will stop receiving messages."
|
||||
(nzOnConfirm)="setInactive()"
|
||||
>
|
||||
<span nz-icon nzType="pause-circle"></span>
|
||||
Set Inactive
|
||||
</button>
|
||||
}
|
||||
@if (expertMode() && isOutgoing()) {
|
||||
<button
|
||||
nz-button
|
||||
nzDanger
|
||||
nz-popconfirm
|
||||
nzPopconfirmTitle="Are you sure you want to delete this subscription?"
|
||||
(nzOnConfirm)="deleteSubscription()"
|
||||
>
|
||||
<span nz-icon nzType="delete"></span>
|
||||
Delete
|
||||
</button>
|
||||
}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user