forked from MapComplete/MapComplete
Refactoring: remove unused asset, further stripping of Svg.ts
This commit is contained in:
parent
c2001f17a5
commit
f8e5efe495
8 changed files with 26 additions and 143 deletions
|
@ -17,6 +17,7 @@
|
|||
import ToSvelte from "../Base/ToSvelte.svelte"
|
||||
import Translations from "../i18n/Translations"
|
||||
import Tr from "../Base/Tr.svelte"
|
||||
import Search_disable from "../../assets/svg/Search_disable.svelte"
|
||||
|
||||
export let search: UIEventSource<string>
|
||||
|
||||
|
@ -27,8 +28,8 @@
|
|||
<h5>{t.noMatchingThemes.toString()}</h5>
|
||||
<div class="flex justify-center">
|
||||
<button on:click={() => search.setData("")}>
|
||||
<ToSvelte construct={Svg.search_disable_svg().SetClass("w-6 mr-2")} />
|
||||
<Tr slot="message" t={t.noSearch} />
|
||||
<Search_disable class="w-6 mr-2" />
|
||||
<Tr t={t.noSearch} />
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue