forked from MapComplete/MapComplete
chore: automated housekeeping...
This commit is contained in:
parent
8109c13b38
commit
297bb1c498
185 changed files with 2826 additions and 5874 deletions
|
|
@ -13,12 +13,14 @@
|
|||
const editThemeHistory = usersettings.tagRenderings.find((tr) => tr.id === "sync-visited-themes")
|
||||
const editReviews = usersettings.tagRenderings.find((tr) => tr.id === "mangrove-reviews-allowed")
|
||||
|
||||
const editLocationHistory = usersettings.tagRenderings.find((tr) => tr.id === "sync-visited-locations")
|
||||
const editLocationHistory = usersettings.tagRenderings.find(
|
||||
(tr) => tr.id === "sync-visited-locations"
|
||||
)
|
||||
|
||||
const selectedElement: Feature = {
|
||||
type: "Feature",
|
||||
properties: { id: "settings" },
|
||||
geometry: { type: "Point", coordinates: [0, 0] }
|
||||
geometry: { type: "Point", coordinates: [0, 0] },
|
||||
}
|
||||
const isLoggedIn = state.osmConnection.isLoggedIn
|
||||
</script>
|
||||
|
|
@ -93,7 +95,6 @@
|
|||
/>
|
||||
</li>
|
||||
<li>
|
||||
|
||||
<TagRenderingEditable
|
||||
config={editThemeHistory}
|
||||
{selectedElement}
|
||||
|
|
@ -102,8 +103,7 @@
|
|||
/>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
{:else }
|
||||
{:else}
|
||||
<button class="as-link" on:click={() => state.osmConnection.AttemptLogin()}>
|
||||
<Tr t={t.browsingHistoryNotLoggedIn} />
|
||||
</button>
|
||||
|
|
@ -120,7 +120,6 @@
|
|||
tags={state.userRelatedState.preferencesAsTags}
|
||||
/>
|
||||
|
||||
|
||||
<h3>
|
||||
<Tr t={t.whileYoureHere} />
|
||||
</h3>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue