Fix: re-enable speed and heading in GPS-cursor

This commit is contained in:
Pieter Vander Vennet 2023-11-23 17:07:53 +01:00
parent ce1855b2bd
commit ff47d75d41
3 changed files with 9 additions and 30 deletions

View file

@ -9,6 +9,7 @@
import Lazy from "../Base/Lazy"
import BaseUIElement from "../BaseUIElement"
import LayoutConfig from "../../Models/ThemeConfig/LayoutConfig"
import { VariableUiElement } from "../Base/VariableUIElement";
//Svelte props
export let tags: UIEventSource<any>
@ -54,13 +55,7 @@
return parts
})
let _allTags = []
onDestroy(
allTags.addCallbackAndRunD((allTags) => {
_allTags = allTags
})
)
const tagsTable = new Table(["Key", "Value"], _allTags).SetClass("zebra-table break-all")
const tagsTable = new VariableUiElement(allTags.mapD(_allTags => new Table(["Key", "Value"], _allTags).SetClass("zebra-table break-all")))
</script>
<section>

View file

@ -1,15 +1,6 @@
<script lang="ts">
// Testing grounds
import LanguagePicker from "./InputElement/LanguagePicker.svelte";
import Translations from "./i18n/Translations";
import Tr from "./Base/Tr.svelte";
import Locale from "./i18n/Locale";
let language = Locale.language
</script>
<div class="w-full">
<LanguagePicker preferredLanguages={["nl", "en"]}/>
<Tr t={Translations.t.general.download.downloadAsPdf}/>
{$language}
No tests
</div>