fix account URI in remote comment modal (cleanup)
authorRigel Kent <sendmemail@rigelk.eu>
Thu, 4 Oct 2018 16:52:48 +0000 (18:52 +0200)
committerRigel Kent <sendmemail@rigelk.eu>
Fri, 5 Oct 2018 08:20:26 +0000 (10:20 +0200)
client/src/app/videos/+video-watch/comment/video-comment-add.component.html
client/src/app/videos/+video-watch/comment/video-comment-add.component.ts

index 30664f97859940e6e5e50d160f8bef8de7ca1b74..b58a56596ee51e68f942b29c6d35603f877c3e06 100644 (file)
@@ -41,7 +41,7 @@
     <span i18n>
       If you have an account on Mastodon or Pleroma, you can open it directly in their interface:
     </span>
-    <my-remote-subscribe [interact]="true" account="{{ getUrl() }}"></my-remote-subscribe>
+    <my-remote-subscribe [interact]="true" [account]="getUrl()"></my-remote-subscribe>
   </div>
   <div class="modal-footer inputs">
     <span i18n class="action-button action-button-cancel" role="button" (click)="hideVisitorModal()">
index af47f3115b0e4f0d2ec21fab8a3d691d1c40b4a5..b374ed7d56e1a8a3a376658153ab7d5299ea4d95 100644 (file)
@@ -32,7 +32,6 @@ export class VideoCommentAddComponent extends FormReactive implements OnInit {
   @ViewChild('textarea') private textareaElement: ElementRef
 
   private addingComment = false
-  private uri: string
 
   constructor (
     protected formValidatorService: FormValidatorService,