From 2081f109cd769f0f52b17de873e75a8098d1c4a9 Mon Sep 17 00:00:00 2001
From: dcz <dcz@ipipan.waw.pl>
Date: Fri, 1 Jul 2022 00:01:48 +0200
Subject: [PATCH] Remove examples window from edit view.

---
 .../entries/js/components/Unification.js      | 21 -------------------
 1 file changed, 21 deletions(-)

diff --git a/entries/static/entries/js/components/Unification.js b/entries/static/entries/js/components/Unification.js
index 70414b7..3f106c6 100644
--- a/entries/static/entries/js/components/Unification.js
+++ b/entries/static/entries/js/components/Unification.js
@@ -23,13 +23,6 @@ export default {
       this.isEdit = true;
     }
   },
-  mounted () {
-    Split(['#right-pane', '#examples'], {
-      direction: 'vertical',
-      sizes: [75, 25],
-      gutterSize: 4,
-    });
-  },
   template: `
     <div id="entries-list" class="col h-100 w-100 px-0">
         <div id="entries-list-div" class="col p-0 h-100 w-100 overflow-auto">
@@ -47,20 +40,6 @@ export default {
           :initialUnifiedFrameId="unifiedFrameId"
           :initialIsEdit="isEdit" />
       </div>
-        <div class="col w-100 p-0 tab-pane" id="examples">
-          <table id="unmatched-examples" class="table table-sm table-hover">
-          <thead>
-              <tr>
-                  <th scope="col">{{ gettext("Przykład") }}</th>
-                  <th scope="col">{{ gettext("Źródło") }}</th>
-                  <th scope="col">{{ gettext("Opinia") }}</th>
-              </tr>
-          </thead>
-          <tbody id="unmatched-examples-list">
-          </tbody>
-          </table>
-        <p class="mx-1 my-1" id="unmatched-no-examples">{{ gettext("Brak przykładów") }}</p>
-      </div>
     </div>
   `
 };
-- 
GitLab