logic cleanup 🧠
All checks were successful
continuous-integration/drone/push Build is passing

ref #12
This commit is contained in:
2021-01-09 16:06:03 +01:00
parent 71c761187f
commit 59d5ad5bd3
6 changed files with 4 additions and 9 deletions

View File

@@ -19,7 +19,6 @@
.then((response) => response.json())
.then((json) => {
licenses = json;
console.log(json);
});
</script>

View File

@@ -6,9 +6,6 @@
import PromiseError from "./PromiseError.svelte";
export let params;
const user_promise = UserService.userControllerGetOne(params.userid);
tracksstore.subscribe((val) => {
userscache = val;
});
user_promise.then((data) => {
console.log(data);
tracksstore.set(data);

View File

@@ -2,7 +2,7 @@
import { _ } from "svelte-i18n";
import AddUserModal from "./AddUserModal.svelte";
export let modal_open = false;
import UsersDetail from "./UsersDetail.svelte";
import UsersOverview from "./UsersOverview.svelte";
</script>
<section class="container p-5">
@@ -20,6 +20,6 @@
<p class="mb-8 text-lg text-gray-500">
manage admin users
</p>
<UsersDetail />
<UsersOverview />
</section>
<AddUserModal bind:modal_open />