Track view-model instance

This commit is contained in:
RMidhunSuresh 2023-03-27 14:20:20 +05:30
parent 8c06582e04
commit cd3e32d4ac

View File

@ -52,7 +52,9 @@ export class VerificationToastCollectionViewModel extends ViewModel<SegmentType,
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) {