summaryrefslogtreecommitdiff
path: root/packages/client/src/ui/classic.widgets.vue
diff options
context:
space:
mode:
authorJohann150 <johann.galle@protonmail.com>2022-05-26 15:53:09 +0200
committerGitHub <noreply@github.com>2022-05-26 22:53:09 +0900
commit3dae18b93cc2a219087c4e1a8acc763ff064b71d (patch)
treeee00206569ab940f7e1af154452123567c4d92f8 /packages/client/src/ui/classic.widgets.vue
parentuse http-signature module that supports hs2019 (#8635) (diff)
downloadmisskey-3dae18b93cc2a219087c4e1a8acc763ff064b71d.tar.gz
misskey-3dae18b93cc2a219087c4e1a8acc763ff064b71d.tar.bz2
misskey-3dae18b93cc2a219087c4e1a8acc763ff064b71d.zip
fix lints (#8737)
* fix: emits use ev instead of e * fix: errors use err instead of e * fix: replace use of data where possible * fix: events use evt instead of e * fix: use strict equals * fix: use emoji instead of e * fix: vue lints
Diffstat (limited to 'packages/client/src/ui/classic.widgets.vue')
-rw-r--r--packages/client/src/ui/classic.widgets.vue4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/client/src/ui/classic.widgets.vue b/packages/client/src/ui/classic.widgets.vue
index f42f27e926..6f9d18bde5 100644
--- a/packages/client/src/ui/classic.widgets.vue
+++ b/packages/client/src/ui/classic.widgets.vue
@@ -44,13 +44,13 @@ export default defineComponent({
},
removeWidget(widget) {
- this.$store.set('widgets', this.$store.state.widgets.filter(w => w.id != widget.id));
+ this.$store.set('widgets', this.$store.state.widgets.filter(w => w.id !== widget.id));
},
updateWidget({ id, data }) {
this.$store.set('widgets', this.$store.state.widgets.map(w => w.id === id ? {
...w,
- data: data
+ data,
} : w));
},