tmp
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
<script>
|
||||
import { OpenAPI, TrackService } from "@odit/lfk-client-js";
|
||||
OpenAPI.BASE = "http://localhost:4010";
|
||||
import { _ } from "svelte-i18n";
|
||||
import store from "../store.js";
|
||||
import { TrackService } from "@odit/lfk-client-js";
|
||||
let tracks_promise = TrackService.trackControllerGetAll();
|
||||
</script>
|
||||
|
||||
<h1>Tracks</h1>
|
||||
<h1>$_("tracks")</h1>
|
||||
{#await tracks_promise}
|
||||
<div
|
||||
class="bg-teal-lightest border-t-4 border-teal rounded-b text-teal-darkest px-4 py-3 shadow-md my-2"
|
||||
@@ -14,7 +15,6 @@
|
||||
</div>
|
||||
{:then tracks}
|
||||
{#if tracks.length > 0}
|
||||
<!-- content here -->
|
||||
<h4>{tracks.length}</h4>
|
||||
<hr />
|
||||
<ul>
|
||||
|
||||
Reference in New Issue
Block a user