summaryrefslogtreecommitdiff
path: root/src/web/app/common
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-02-24 03:03:26 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-02-24 03:03:26 +0900
commitcf1f2562d79056fe9f3acbd2e58512e3eaf665f6 (patch)
treec2b4151f2183c8a9c83f976edcec5865f3962479 /src/web/app/common
parentImplement #1098 (diff)
downloadmisskey-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.ts1
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)) {