From d0975a6e7ee57de4debda94e823011d813fbf4a1 Mon Sep 17 00:00:00 2001
From: Furkan Sahin <furkan-dev@proton.me>
Date: Sun, 5 Sep 2021 21:39:24 -0500
Subject: Initial rewrite in svelte

---
 src/views/Editor.vue | 44 --------------------------------------------
 1 file changed, 44 deletions(-)
 delete mode 100644 src/views/Editor.vue

(limited to 'src/views/Editor.vue')

diff --git a/src/views/Editor.vue b/src/views/Editor.vue
deleted file mode 100644
index 795ee9d..0000000
--- a/src/views/Editor.vue
+++ /dev/null
@@ -1,44 +0,0 @@
-<template>
-  <div id="editor">
-    <ActionBar />
-    <EditorLists :peerTeachers="peerTeachers" :labs="labs" />
-  </div>
-</template>
-
-<script lang="ts">
-import { defineComponent } from 'vue';
-import ActionBar from '@/components/ActionBar.vue';
-import EditorLists from '@/components/EditorLists.vue';
-import Lab from '@/models/Lab';
-import PeerTeacher from '@/models/PeerTeacher';
-
-export default defineComponent({
-  name: 'Editor',
-  components: {
-    ActionBar,
-    EditorLists,
-  },
-  computed: {
-    labs(): Lab[] {
-      return Array.from(this.$store.state.labs.values()).sort((a, b) => a.id
-        .localeCompare(b.id));
-    },
-    peerTeachers(): PeerTeacher[] {
-      return Array.from(this.$store.state.peerTeachers.values()).sort((a, b) => a.lastname
-        .toUpperCase().localeCompare(b.lastname.toUpperCase()));
-    },
-  },
-});
-</script>
-
-<style>
-#editor {
-  display: flex;
-  flex-direction: column;
-  max-height: inherit;
-}
-
-#action-bar {
-  flex-shrink: 0;
-}
-</style>
-- 
cgit v1.2.3

