fix: rename profile component

This commit is contained in:
Spectralitree 2021-12-15 13:52:18 +01:00
parent b4411dd689
commit d6c48af4fe
2 changed files with 4 additions and 3 deletions

View File

@ -6,7 +6,7 @@
import Settings from './pages/Settings.svelte';
import Footer from './lib/Footer.svelte';
import Public from "./pages/Public.svelte";
import System from "./pages/profiles/System.svelte";
import Main from "./pages/profiles/Main.svelte";
// theme cdns (I might make some myself too)
let light = "https://cdn.jsdelivr.net/npm/bootstrap@5.1.0/dist/css/bootstrap.min.css";

View File

@ -6,6 +6,7 @@
import System from '../../lib/system/Main.svelte';
import PKAPI from '../../api';
import Sys from '../../api/system';
import List from '../../lib/member/List.svelte';
let isPublic = true;
@ -55,10 +56,10 @@
<Alert color="info">You are currently <b>viewing</b> a system.</Alert>
<TabContent class="mt-3">
<TabPane tabId="system" tab="System" active>
<System bind:user={user} bind:isPublic={isPublic} />
<System bind:user bind:isPublic />
</TabPane>
<TabPane tabId="members" tab="Members">
alo
<List bind:isPublic/>
</TabPane>
</TabContent>
{/if}