diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-02-24 03:03:26 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-02-24 03:03:26 +0900 |
| commit | cf1f2562d79056fe9f3acbd2e58512e3eaf665f6 (patch) | |
| tree | c2b4151f2183c8a9c83f976edcec5865f3962479 /src/web/app/common | |
| parent | Implement #1098 (diff) | |
| download | misskey-cf1f2562d79056fe9f3acbd2e58512e3eaf665f6.tar.gz misskey-cf1f2562d79056fe9f3acbd2e58512e3eaf665f6.tar.bz2 misskey-cf1f2562d79056fe9f3acbd2e58512e3eaf665f6.zip | |
:v:
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)) { |