mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2025-01-22 18:21:39 +01:00
Track view-model instance
This commit is contained in:
parent
8c06582e04
commit
cd3e32d4ac
@ -52,7 +52,9 @@ export class VerificationToastCollectionViewModel extends ViewModel<SegmentType,
|
|||||||
this.toastViewModels.remove(idx);
|
this.toastViewModels.remove(idx);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
this.toastViewModels.append(new VerificationToastNotificationViewModel(this.childOptions({ request, dismiss })));
|
this.toastViewModels.append(
|
||||||
|
this.track(new VerificationToastNotificationViewModel(this.childOptions({ request, dismiss })))
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
onRemove(_, request: SASRequest) {
|
onRemove(_, request: SASRequest) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user