From dd7a6f0be0349b1ec39cc1af4135e8bf431823f9 Mon Sep 17 00:00:00 2001 From: Jake/Rads Date: Thu, 23 Jun 2022 23:08:50 +0200 Subject: [PATCH] feat(dashboard): move profile out of its lonely folder I'll probably organize the folders better in general later --- dashboard/src/App.svelte | 2 +- .../src/pages/{profiles/Main.svelte => Profile.svelte} | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) rename dashboard/src/pages/{profiles/Main.svelte => Profile.svelte} (92%) diff --git a/dashboard/src/App.svelte b/dashboard/src/App.svelte index 469c1a34..bca3a6ae 100644 --- a/dashboard/src/App.svelte +++ b/dashboard/src/App.svelte @@ -5,7 +5,7 @@ import Home from "./pages/Home.svelte"; import Settings from './pages/Settings.svelte'; import Public from "./pages/Public.svelte"; - import Main from "./pages/profiles/Main.svelte"; + import Main from "./pages/Profile.svelte"; import Status from './pages/status.svelte'; import Member from './pages/Member.svelte'; import Group from './pages/Group.svelte'; diff --git a/dashboard/src/pages/profiles/Main.svelte b/dashboard/src/pages/Profile.svelte similarity index 92% rename from dashboard/src/pages/profiles/Main.svelte rename to dashboard/src/pages/Profile.svelte index d6e48f48..986a1427 100644 --- a/dashboard/src/pages/profiles/Main.svelte +++ b/dashboard/src/pages/Profile.svelte @@ -3,11 +3,11 @@ import { useParams, useLocation } from "svelte-navigator"; import { onMount } from 'svelte'; - import SystemMain from '../../lib/system/Main.svelte'; - import List from '../../lib/list/List.svelte'; + import SystemMain from '../lib/system/Main.svelte'; + import List from '../lib/list/List.svelte'; - import { System } from '../../api/types'; - import api from '../../api'; + import { System } from '../api/types'; + import api from '../api'; let user: System = {}; let settings = JSON.parse(localStorage.getItem("pk-settings"));