From 46afc555d6e95b28f808d0c4f5a25f8def6ff1cb Mon Sep 17 00:00:00 2001 From: Vasek Sraier Date: Thu, 1 Oct 2020 23:33:39 +0200 Subject: [PATCH] removed compatibility with old format, small fix in editor --- frontend/src/Editor.svelte | 1 - frontend/src/tasks.ts | 8 -------- 2 files changed, 9 deletions(-) diff --git a/frontend/src/Editor.svelte b/frontend/src/Editor.svelte index 69987aa..46f0b79 100644 --- a/frontend/src/Editor.svelte +++ b/frontend/src/Editor.svelte @@ -242,7 +242,6 @@ { const r = await fetch("/tasks.json") const j = await r.json() - - // backward compatibility - if (j.positions != null) { - for (const [id, pos] of Object.entries(j.positions)) { - j.tasks.find((t) => t.id == id).position = pos; - } - } - return j }