From c81ff10d5b49b5f2d64c9973df4321f8041865fa Mon Sep 17 00:00:00 2001
From: syuilo <Syuilotan@yahoo.co.jp>
Date: Thu, 17 Oct 2019 00:42:04 +0900
Subject: Fix bug

---
 src/client/app/common/views/components/settings/settings.vue | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/client/app/common/views/components/settings/settings.vue')

diff --git a/src/client/app/common/views/components/settings/settings.vue b/src/client/app/common/views/components/settings/settings.vue
index 6ea1147c54..49239a597b 100644
--- a/src/client/app/common/views/components/settings/settings.vue
+++ b/src/client/app/common/views/components/settings/settings.vue
@@ -416,7 +416,7 @@ export default Vue.extend({
 
 		reactions: {
 			get() { return this.$store.state.settings.reactions.join('\n'); },
-			set(value: string) { this.$store.dispatch('settings/set', { key: 'reactions', value: value.split('\n') }); }
+			set(value: string) { this.$store.dispatch('settings/set', { key: 'reactions', value: value.trim().split('\n') }); }
 		},
 
 		useShadow: {
-- 
cgit v1.2.3-freya

