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 (#3034) (#3035)
  • Loading branch information
blackbaud-sky-build-user authored Jan 15, 2025
1 parent ca60307 commit 7520ce7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -232,14 +232,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 7520ce7

Please sign in to comment.