- removeFollowing (follow: AccountFollow) {
- this.confirmService.confirm(`Do you really want to unfollow ${follow.following.host}?`, 'Unfollow').subscribe(
- res => {
- if (res === false) return
+ ngOnInit () {
+ this.initialize()
+ }
+
+ async removeFollowing (follow: ActorFollow) {
+ const res = await this.confirmService.confirm(
+ this.i18n('Do you really want to unfollow {{host}}?', { host: follow.following.host }),
+ this.i18n('Unfollow')
+ )
+ if (res === false) return