diff options
Diffstat (limited to 'src/web/app/common')
| -rw-r--r-- | src/web/app/common/define-widget.ts | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/web/app/common/define-widget.ts b/src/web/app/common/define-widget.ts index 60cd1969c0..826f9cc636 100644 --- a/src/web/app/common/define-widget.ts +++ b/src/web/app/common/define-widget.ts @@ -25,7 +25,6 @@ export default function<T extends object>(data: { }; }, created() { - if (this.widget.data == null) this.widget.data = {}; if (this.props) { Object.keys(this.props).forEach(prop => { if (this.widget.data.hasOwnProperty(prop)) { |