Skip to content

Commit

Permalink
fix(settings/integration): fix teams profile delete endless spinner K…
Browse files Browse the repository at this point in the history
…MCNG-2602
  • Loading branch information
amirch1 committed Apr 2, 2024
1 parent 446bcac commit 37c0b51
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ export class TeamsComponent implements OnInit, OnDestroy {
this._updateAreaBlockerState(true, null);
this._teamsService.deleteProfile(this._currentProfile.id).subscribe(
success => {
if ((success as any).objectType === 'KalturaAPIException') {
if (success && (success as any).objectType === 'KalturaAPIException') {
this.displayError((success as any).message, () => this.deleteProfile());
} else {
this._updateAreaBlockerState(false, null);
Expand Down

0 comments on commit 37c0b51

Please sign in to comment.