Fix move dialog
This commit is contained in:
parent
8f95e8520a
commit
1a8c63ad95
1 changed files with 1 additions and 6 deletions
|
@ -3,13 +3,10 @@
|
||||||
import type { MoveReason } from "./MoveWizardState"
|
import type { MoveReason } from "./MoveWizardState"
|
||||||
import { MoveWizardState } from "./MoveWizardState"
|
import { MoveWizardState } from "./MoveWizardState"
|
||||||
import LayerConfig from "../../Models/ThemeConfig/LayerConfig"
|
import LayerConfig from "../../Models/ThemeConfig/LayerConfig"
|
||||||
import ToSvelte from "../Base/ToSvelte.svelte"
|
|
||||||
import Tr from "../Base/Tr.svelte"
|
import Tr from "../Base/Tr.svelte"
|
||||||
import Translations from "../i18n/Translations"
|
import Translations from "../i18n/Translations"
|
||||||
import Move from "../../assets/svg/Move.svelte"
|
import Move from "../../assets/svg/Move.svelte"
|
||||||
import Move_not_allowed from "../../assets/svg/Move_not_allowed.svelte"
|
import Move_not_allowed from "../../assets/svg/Move_not_allowed.svelte"
|
||||||
import type { SpecialVisualizationState } from "../SpecialVisualization"
|
|
||||||
import { XCircleIcon } from "@babeard/svelte-heroicons/solid"
|
|
||||||
import type { MapProperties } from "../../Models/MapProperties"
|
import type { MapProperties } from "../../Models/MapProperties"
|
||||||
import type { Feature, Point } from "geojson"
|
import type { Feature, Point } from "geojson"
|
||||||
import { GeoOperations } from "../../Logic/GeoOperations"
|
import { GeoOperations } from "../../Logic/GeoOperations"
|
||||||
|
@ -74,9 +71,7 @@
|
||||||
<AccordionSingle>
|
<AccordionSingle>
|
||||||
<span slot="header" class="flex">
|
<span slot="header" class="flex">
|
||||||
{#if moveWizardState.reasons.length === 1}
|
{#if moveWizardState.reasons.length === 1}
|
||||||
<ToSvelte
|
<Icon icon={moveWizardState.reasons[0].icon} clss="w-6 h-6"/>
|
||||||
construct={moveWizardState.reasons[0].icon.SetStyle("height: 1.5rem; width: 1.5rem;")}
|
|
||||||
/>
|
|
||||||
<Tr t={Translations.T(moveWizardState.reasons[0].invitingText)} />
|
<Tr t={Translations.T(moveWizardState.reasons[0].invitingText)} />
|
||||||
{:else}
|
{:else}
|
||||||
<Move class="h-6 w-6" />
|
<Move class="h-6 w-6" />
|
||||||
|
|
Loading…
Reference in a new issue