Skip to content
This repository was archived by the owner on Nov 30, 2022. It is now read-only.

Commit d132314

Browse files
committed
fix(router-item): add rounded to hasShape
1 parent 3c4a151 commit d132314

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

projects/core/src/lib/router-item/router-item.component.ts

+3-2
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export class FivRouterItem implements OnInit {
4040
* Possible values are: `"line"`, `"dot"` and any ionicon.
4141
* Default value is: `"line"`
4242
*/
43-
@Input() shape: 'line' | 'dot' | 'rounded' | string = 'line';
43+
@Input() shape: 'line' | 'dot' | 'rounded' | string = 'line';
4444

4545
@Input() text: string;
4646

@@ -69,7 +69,8 @@ export class FivRouterItem implements OnInit {
6969

7070
hasShape(): boolean {
7171
return this.shape === 'line'
72-
|| this.shape === 'dot';
72+
|| this.shape === 'dot'
73+
|| this.shape === 'rounded';
7374
}
7475

7576
getClasses(): string[] {

0 commit comments

Comments
 (0)