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:
parent
7d50472046
commit
385ac09078
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue