fix account URI in remote comment modal (cleanup)

This commit is contained in:
Rigel Kent 2018-10-04 18:52:48 +02:00
parent 29b323cdd7
commit 040a506bcf
No known key found for this signature in database
GPG Key ID: EA12971B0E438F36
2 changed files with 1 additions and 2 deletions

View File

@ -41,7 +41,7 @@
<span i18n> <span i18n>
If you have an account on Mastodon or Pleroma, you can open it directly in their interface: If you have an account on Mastodon or Pleroma, you can open it directly in their interface:
</span> </span>
<my-remote-subscribe [interact]="true" account="{{ getUrl() }}"></my-remote-subscribe> <my-remote-subscribe [interact]="true" [account]="getUrl()"></my-remote-subscribe>
</div> </div>
<div class="modal-footer inputs"> <div class="modal-footer inputs">
<span i18n class="action-button action-button-cancel" role="button" (click)="hideVisitorModal()"> <span i18n class="action-button action-button-cancel" role="button" (click)="hideVisitorModal()">

View File

@ -32,7 +32,6 @@ export class VideoCommentAddComponent extends FormReactive implements OnInit {
@ViewChild('textarea') private textareaElement: ElementRef @ViewChild('textarea') private textareaElement: ElementRef
private addingComment = false private addingComment = false
private uri: string
constructor ( constructor (
protected formValidatorService: FormValidatorService, protected formValidatorService: FormValidatorService,