forked from MapComplete/MapComplete
Chore: formatting
This commit is contained in:
parent
6c3c67af56
commit
286578bfc7
58 changed files with 2199 additions and 1915 deletions
|
|
@ -1,18 +1,17 @@
|
|||
<script lang="ts">
|
||||
import { OsmConnection } from "../../Logic/Osm/OsmConnection";
|
||||
import EditItemButton from "./EditItemButton.svelte";
|
||||
|
||||
export let layerIds: { id: string, owner: number }[];
|
||||
export let category: "layers" | "themes" = "layers";
|
||||
export let osmConnection: OsmConnection;
|
||||
import { OsmConnection } from "../../Logic/Osm/OsmConnection"
|
||||
import EditItemButton from "./EditItemButton.svelte"
|
||||
|
||||
export let layerIds: { id: string; owner: number }[]
|
||||
export let category: "layers" | "themes" = "layers"
|
||||
export let osmConnection: OsmConnection
|
||||
</script>
|
||||
|
||||
{#if layerIds.length > 0}
|
||||
<slot name="title" />
|
||||
<div class="flex flex-wrap">
|
||||
{#each Array.from(layerIds) as layer}
|
||||
<EditItemButton info={layer} {category} {osmConnection} on:layerSelected/>
|
||||
<EditItemButton info={layer} {category} {osmConnection} on:layerSelected />
|
||||
{/each}
|
||||
</div>
|
||||
{/if}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue