-
Notifications
You must be signed in to change notification settings - Fork 665
Fix master detail demos #32198
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix master detail demos #32198
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR fixes a bug in the template URL generation for two Angular DataGrid master-detail demo components. The old pattern used a faulty conditional expression that would evaluate to ./false/... when modulePrefix was empty, causing incorrect path resolution.
Changes:
- Corrected templateUrl generation logic in MasterDetailView detail-grid component
- Corrected templateUrl and styleUrls generation logic in AdvancedMasterDetailView detail-view component
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| apps/demos/Demos/DataGrid/MasterDetailView/Angular/app/detail-grid/detail-grid.component.ts | Fixed templateUrl to use simple string interpolation instead of faulty conditional logic |
| apps/demos/Demos/DataGrid/AdvancedMasterDetailView/Angular/app/detail-view/detail-view.component.ts | Fixed both templateUrl and styleUrls to use simple string interpolation instead of faulty conditional logic |
…fix-master-detail-demo-cp
…fix-master-detail-demo-cp
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.
…fix-master-detail-demo-cp
No description provided.