Skip to content

Commit 977759e

Browse files
boulix3jelbourn
authored andcommitted
fix (card) : card-header templateUrl
Fix the templateUrl path for card-header. Error occurs when the website is not located in root folder (ex : http://localhost/TestApp/). Closes #220
1 parent 6aff4cc commit 977759e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/card/card.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ TODO(kara): update link to demo site when it exists
4646

4747
@Component({
4848
selector: 'md-card-header',
49-
templateUrl: '/components/card/card-header.html',
49+
templateUrl: './components/card/card-header.html',
5050
encapsulation: ViewEncapsulation.None,
5151
changeDetection: ChangeDetectionStrategy.OnPush,
5252
})

0 commit comments

Comments
 (0)