forked from MapComplete/MapComplete
Chore: remove old import
This commit is contained in:
parent
aecc36dfbe
commit
6967196ade
1 changed files with 0 additions and 3 deletions
|
|
@ -1,7 +1,6 @@
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { UIEventSource } from "../../../Logic/UIEventSource"
|
import { UIEventSource } from "../../../Logic/UIEventSource"
|
||||||
import tag2link from "tag2link/index.json"
|
import tag2link from "tag2link/index.json"
|
||||||
import { onMount } from "svelte"
|
|
||||||
|
|
||||||
export let tags: UIEventSource<Record<string, any>>
|
export let tags: UIEventSource<Record<string, any>>
|
||||||
export let key: string
|
export let key: string
|
||||||
|
|
@ -34,8 +33,6 @@
|
||||||
|
|
||||||
const values: string[] =
|
const values: string[] =
|
||||||
typeof $tags[key] === "string" ? $tags[key].split(";").map((v: string) => v.trim()) : []
|
typeof $tags[key] === "string" ? $tags[key].split(";").map((v: string) => v.trim()) : []
|
||||||
|
|
||||||
console.log(`TagLink for ${key} values: [${values.join(", ")}]`)
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
{#if url && values.length > 0}
|
{#if url && values.length > 0}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue