Skip to content

Commit

Permalink
refactor(components/tiles): remove deprecated observers from tile con…
Browse files Browse the repository at this point in the history
…trol handlers
  • Loading branch information
Blackbaud-CoreyArcher committed Jan 15, 2025
1 parent 6b88cd2 commit 9d4e6fd
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -233,14 +233,14 @@ export class SkyTileComponent implements OnChanges, OnDestroy {
}

public get hasSettings(): boolean {
return this.settingsClick.observers.length > 0 && this.showSettings;
return this.settingsClick.observed && this.showSettings;
}

/**
* @deprecated
*/
public get hasHelp(): boolean {
return this.helpClick.observers.length > 0 && this.showHelp;
return this.helpClick.observed && this.showHelp;
}

public titleClick(evt: MouseEvent): void {
Expand Down

0 comments on commit 9d4e6fd

Please sign in to comment.