fix modal

This commit is contained in:
Adam Bradley
2015-06-29 09:26:24 -05:00
parent fe185c56e7
commit 28b77b0fbc
2 changed files with 4 additions and 1 deletions

View File

@ -61,6 +61,9 @@ export class IonicComponent extends Component {
}
function appendModeConfig(ComponentType) {
if (!ComponentType) {
return {};
}
if (typeof ComponentType === 'object') {
return ComponentType;
}