Removed unused code
This commit is contained in:
parent
7d7b1379f2
commit
c7aa44ebed
@ -168,12 +168,6 @@ export class ViewUserComponent implements OnInit, OnChanges, OnDestroy {
|
||||
this.loadUser(true);
|
||||
} else {
|
||||
if(queueDetails.data != null) {
|
||||
if(queueDetails.data.progressCurrent != null && queueDetails.data.progressTotal != null) {
|
||||
if (queueDetails.data.progressCurrent >= queueDetails.data.progressTotal) {
|
||||
this.loadUser(true);
|
||||
this.liveUserSub?.unsubscribe();
|
||||
}
|
||||
}
|
||||
this.userInfo!.queue_details = queueDetails.data;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user