Skip to content

Commit 7aafd73

Browse files
committed
fix(rounded): unsupported styling type function [Computed] hostClasses()
1 parent 99dacc2 commit 7aafd73

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

projects/coreui-angular/src/lib/utilities/rounded.directive.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { Rounded } from './rounded.type';
44
@Directive({
55
selector: '[cRounded]',
66
exportAs: 'cRounded',
7-
host: { '[class]': 'hostClasses' }
7+
host: { '[class]': 'hostClasses()' }
88
})
99
export class RoundedDirective {
1010
/**
@@ -13,7 +13,7 @@ export class RoundedDirective {
1313
*/
1414
readonly cRounded = input<Rounded>(true);
1515

16-
readonly hostClasses = computed( () => {
16+
readonly hostClasses = computed(() => {
1717
const rounded = this.cRounded();
1818
if (typeof rounded === 'boolean') {
1919
return { rounded: true };

0 commit comments

Comments
 (0)