You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think there's an error with the ternary operator in the template. It should be as follows otherwise it'll try to use md-switch when material is not present:
I think there's an error with the ternary operator in the template. It should be as follows otherwise it'll try to use md-switch when material is not present:
(material ? '<md-switch class="ng-csv-import-header-switch" ng-model="header"></md-switch>' : '<input type="checkbox" ng-model="header"></div>') +
Orignal:
(material ?'<input type="checkbox" ng-model="header"></div>' : '<md-switch class="ng-csv-import-header-switch" ng-model="header"></md-switch>') +
The visible error is when material is not selected nothing will appear.
The text was updated successfully, but these errors were encountered: