diff --git a/components/badge/badge.component.ts b/components/badge/badge.component.ts index bff36a59..8dca89b6 100644 --- a/components/badge/badge.component.ts +++ b/components/badge/badge.component.ts @@ -108,7 +108,7 @@ export class BadgeComponent implements OnChanges, OnInit, AfterViewInit { ngAfterViewInit() { setTimeout(() => { - if (this._ref.nativeElement.children.length > 1) { + if (this._ref.nativeElement.children.length > 1 || (this._ref.nativeElement.children.length === 1 && !this.dot && !this.text)) { this._children = true; this.setCls(); }