From a84cb569a10f717588acfcfb4d57701f3d7eee5d Mon Sep 17 00:00:00 2001
From: Angelina Filippova <linakirsanova@gmail.com>
Date: Sun, 17 Nov 2019 22:48:53 +0900
Subject: [PATCH] Update config parsing

---
 src/store/modules/settings.js | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/store/modules/settings.js b/src/store/modules/settings.js
index abcb28dc..1c380247 100644
--- a/src/store/modules/settings.js
+++ b/src/store/modules/settings.js
@@ -22,6 +22,12 @@ const settings = {
       const newSettings = data.reduce((acc, { group, key, value }) => {
         if (group === 'cors_plug') {
           acc[':cors_plug'] = { ...acc[':cors_plug'], [key]: value }
+        } else if (group === 'logger') {
+          const parsedValue = valueHasTuples(key, value) ? value : parseTuples(value, key)
+          acc[':logger'] = acc[':logger'] ? { ...acc[':logger'], [key]: parsedValue } : { [key]: parsedValue }
+        } else if (group === 'quack') {
+          const parsedValue = valueHasTuples(key, value) ? value : parseTuples(value, key)
+          acc[':quack'] = acc[':quack'] ? { ...acc[':quack'], [key]: parsedValue } : { [key]: parsedValue }
         } else {
           const parsedValue = valueHasTuples(key, value) ? { value } : parseTuples(value, key)
           acc[key] = { ...acc[key], ...parsedValue }
-- 
GitLab