Sanitize lib paths

This commit is contained in:
nemunaire 2022-10-15 11:12:51 +02:00
commit e9a906fbfb
43 changed files with 68 additions and 66 deletions

View file

@ -6,9 +6,9 @@
Icon,
} from 'sveltestrap';
import MusiksLastPlayedList from '../../components/MusiksLastPlayedList.svelte';
import TrackList from '../../components/TrackList.svelte';
import GongsList from '../../components/GongsList.svelte';
import MusiksLastPlayedList from '$lib/components/MusiksLastPlayedList.svelte';
import TrackList from '$lib/components/TrackList.svelte';
import GongsList from '$lib/components/GongsList.svelte';
</script>
<Container fluid class="flex-fill d-flex flex-column py-2">

View file

@ -7,7 +7,7 @@
Icon,
} from 'sveltestrap';
import GongsList from '../../../components/GongsList.svelte';
import GongsList from '$lib/components/GongsList.svelte';
</script>
<div class="d-flex flex-fill flex-column">

View file

@ -4,7 +4,7 @@
Icon,
} from 'sveltestrap';
import TrackList from '../../../components/TrackList.svelte';
import TrackList from '$lib/components/TrackList.svelte';
</script>
<Container fluid class="py-2 d-none d-md-flex flex-column justify-content-center align-items-center">

View file

@ -9,7 +9,7 @@
Spinner,
} from 'sveltestrap';
import { getGong } from '../../../../lib/gong';
import { getGong } from '$lib/gong';
</script>
{#await getGong($page.params.gid)}

View file

@ -7,7 +7,7 @@
Icon,
} from 'sveltestrap';
import TrackList from '../../../components/TrackList.svelte';
import TrackList from '$lib/components/TrackList.svelte';
</script>
<div class="d-flex flex-fill flex-column">

View file

@ -4,7 +4,7 @@
Icon,
} from 'sveltestrap';
import TrackList from '../../../components/TrackList.svelte';
import TrackList from '$lib/components/TrackList.svelte';
</script>
<Container fluid class="py-2 d-none d-md-flex flex-column justify-content-center align-items-center">

View file

@ -1,15 +1,17 @@
<script>
import { goto } from '$app/navigation';
import { page } from '$app/stores';
import {
Container,
Icon,
Input,
ListGroup,
ListGroupItem,
Spinner,
} from 'sveltestrap';
import { getTrack } from '../../../../lib/track';
import { getTrack } from '$lib/track';
</script>
{#await getTrack($page.params.tid)}