diff --git a/svelte-ui/src/App.svelte b/svelte-ui/src/App.svelte index 2662a6d..b59a3ca 100644 --- a/svelte-ui/src/App.svelte +++ b/svelte-ui/src/App.svelte @@ -5,9 +5,9 @@ import authStore from "./stores/auth"; import Boi from "./components/Boi.svelte"; import { signOut } from "./clients/amplify"; + import markStale from "./stores/markStale"; import FrontPage from "./pages/FrontPage.svelte"; - import ProjectPage from "./pages/ProjectPage.svelte"; import LogsPage from "./pages/LogsPage.svelte"; import GroupPage from "./pages/GroupPage.svelte"; import GoalPage from "./pages/GoalPage.svelte"; @@ -26,7 +26,6 @@ import ModalRoute from "./components/ModalRoute.svelte"; import FocusHandler from "./components/FocusHandler.svelte"; import Menu from "./components/Menu.svelte"; -import markStale from "./stores/markStale"; async function logout() { await signOut(); @@ -47,7 +46,6 @@ import markStale from "./stores/markStale";
- diff --git a/svelte-ui/src/components/Menu.svelte b/svelte-ui/src/components/Menu.svelte index 296d4a1..b3a47e9 100644 --- a/svelte-ui/src/components/Menu.svelte +++ b/svelte-ui/src/components/Menu.svelte @@ -15,8 +15,7 @@ @@ -36,17 +35,4 @@ a.selected { color: #AAA; } - - a.mobile { - display: none; - } - - @media screen and (max-width: 600px) { - a.mobile { - display: inline-block; - } - a.desktop { - display: none; - } - } diff --git a/svelte-ui/src/components/TableOfContent.svelte b/svelte-ui/src/components/TableOfContent.svelte index 0270a28..f30afe0 100644 --- a/svelte-ui/src/components/TableOfContent.svelte +++ b/svelte-ui/src/components/TableOfContent.svelte @@ -40,10 +40,10 @@ icon: project.icon, name: project.name, href: `/projects#${project.id}`, - completed: !project.active, + completed: !project.active && project.statusTag === "completed", items: project.tasks.filter(t => !hideInactive || t.active).map(task => ({ name: task.name, - completed: !task.active, + completed: !task.active && task.statusTag === "completed", href: `/projects#${task.id}`, })), }) diff --git a/svelte-ui/src/pages/ProjectPage.svelte b/svelte-ui/src/pages/ProjectPage.svelte deleted file mode 100644 index 4c898e8..0000000 --- a/svelte-ui/src/pages/ProjectPage.svelte +++ /dev/null @@ -1,57 +0,0 @@ - - -
-
- -
- - {#each $projectStore.projects as project (project.id)} - - {/each} - Add Project -
- - - \ No newline at end of file