fixed issue when the web part is first loaded it does not tell the user to configure the web part.

This commit is contained in:
dhartman 2016-10-11 19:04:25 -04:00
parent 7d50472046
commit 385ac09078
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ export default class HomeController {
vm.styles = $attrs['style'];
vm._web = $attrs['web'];
vm._contentType = $attrs['contenttype'];
vm._contentType = $attrs['contenttype'] === "" ? undefined : $attrs['contenttype'];
if (this._contentType !== undefined) {
this._init(this._contentType, vm.$scope);