From 87045c7dd9fd41a49722820dbd7741d068691aa5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ole=20Volds=C3=A6ter?= <ole.voldsater@uib.no>
Date: Tue, 11 Aug 2020 14:54:34 +0200
Subject: [PATCH] =?UTF-8?q?Sl=C3=A5r=20sammen=20etikettene=20"Substantiv,?=
 =?UTF-8?q?=20Mask."=20og=20"Substantiv,=20Fem."?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 src/utils/helpers.js | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/utils/helpers.js b/src/utils/helpers.js
index 33f8c008..e19f03ce 100644
--- a/src/utils/helpers.js
+++ b/src/utils/helpers.js
@@ -29,6 +29,11 @@ var group_list = function(grps) {
       }
     })
   })
+  if (grp_collection.has('Substantiv, Mask.') && grp_collection.has('Substantiv, Fem.')) {
+    grp_collection.delete('Substantiv, Mask.')
+    grp_collection.delete('Substantiv, Fem.')
+    grp_collection.add('Substantiv, Mask./Fem.')
+  }
   return Array.from(grp_collection).join(' - ')
 }
 
-- 
GitLab