mirror of
https://github.com/danbulant/Portfolio
synced 2026-06-16 21:11:06 +00:00
fix: code cleanup
This commit is contained in:
parent
faad621f20
commit
420aa9d6d9
5 changed files with 2 additions and 49 deletions
|
|
@ -25,7 +25,6 @@
|
|||
"prettier": "^2.8.3",
|
||||
"prettier-plugin-svelte": "^2.9.0",
|
||||
"prettier-plugin-tailwindcss": "^0.2.1",
|
||||
"simple-svelte-autocomplete": "^2.5.1",
|
||||
"svelte": "^3.55.1",
|
||||
"svelte-check": "^3.0.2",
|
||||
"svelte-preprocess": "^5.0.0",
|
||||
|
|
|
|||
|
|
@ -75,9 +75,6 @@ devDependencies:
|
|||
prettier-plugin-tailwindcss:
|
||||
specifier: ^0.2.1
|
||||
version: 0.2.1(prettier@2.8.3)
|
||||
simple-svelte-autocomplete:
|
||||
specifier: ^2.5.1
|
||||
version: 2.5.1
|
||||
svelte:
|
||||
specifier: ^3.55.1
|
||||
version: 3.55.1
|
||||
|
|
@ -2100,10 +2097,6 @@ packages:
|
|||
engines: {node: '>=8'}
|
||||
dev: true
|
||||
|
||||
/simple-svelte-autocomplete@2.5.1:
|
||||
resolution: {integrity: sha512-wC0RzbmWhMMAqJ3PK+4sBSAHZl+Y/Qz7KDk1Wp5Fnxj+PJvOXWCIAOi5FLQZGrIMl82YKvFErzEtOCmfNOMUJg==}
|
||||
dev: true
|
||||
|
||||
/sirv@2.0.2:
|
||||
resolution: {integrity: sha512-4Qog6aE29nIjAOKe/wowFTxOdmbEZKb+3tsLljaBRzJwtqto0BChD2zzH0LhgCSXiI+V7X+Y45v14wBZQ1TK3w==}
|
||||
engines: {node: '>= 10'}
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
export let applications: Array<number>;
|
||||
let title1 = $LL.components.checkbox.accountLinkCheckBox.multiple.title({
|
||||
first: applications[0],
|
||||
second: applications[1],
|
||||
second: applications[1]
|
||||
});
|
||||
let title2 = $LL.components.checkbox.accountLinkCheckBox.multiple.title2({
|
||||
first: applications[0]
|
||||
|
|
@ -14,7 +14,7 @@
|
|||
|
||||
if (applications.length === 1) {
|
||||
title1 = $LL.components.checkbox.accountLinkCheckBox.single.title({
|
||||
first: applications[0],
|
||||
first: applications[0]
|
||||
});
|
||||
title2 = $LL.components.checkbox.accountLinkCheckBox.single.title2();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +0,0 @@
|
|||
<script lang="ts">
|
||||
export let title;
|
||||
export let description;
|
||||
</script>
|
||||
|
|
@ -1,35 +0,0 @@
|
|||
<script lang="ts">
|
||||
import type { School } from '$lib/stores/candidate';
|
||||
// TODO
|
||||
// import AutoComplete from 'simple-svelte-autocomplete';
|
||||
import { onMount } from 'svelte';
|
||||
// import schoollistString from '$lib/assets/schoollist.txt';
|
||||
|
||||
let schools: string[] = [];
|
||||
|
||||
onMount(async () => {
|
||||
schools = await fetch('/schoollist.txt')
|
||||
.then((response) => response.text())
|
||||
.then((text) => text.split(';'));
|
||||
});
|
||||
|
||||
export let selectedSchool: School;
|
||||
export let schoolName: string = selectedSchool.name;
|
||||
$: selectedSchool.name = schoolName;
|
||||
|
||||
</script>
|
||||
|
||||
<div class="flex flex-row">
|
||||
<div>
|
||||
<span>
|
||||
Selected school: {selectedSchool.name}
|
||||
</span>
|
||||
<!-- <AutoComplete items={schools} bind:selectedItem={schoolName} /> -->
|
||||
<!-- TODO -->
|
||||
<input type="text" bind:value={schoolName} />
|
||||
</div>
|
||||
<div class="flex">
|
||||
<span>Obor: </span>
|
||||
<input type="text" bind:value={selectedSchool.field} />
|
||||
</div>
|
||||
</div>
|
||||
Loading…
Reference in a new issue