forked from MapComplete/MapComplete
Fix delete button, remove Translations.WT
This commit is contained in:
parent
50a7597c5a
commit
1271f24160
11 changed files with 69 additions and 62 deletions
|
@ -16,7 +16,7 @@ export default class TitleHandler {
|
|||
const currentTitle: UIEventSource<string> = state.selectedElement.map(
|
||||
selected => {
|
||||
const layout = state.layoutToUse
|
||||
const defaultTitle = Translations.WT(layout?.title)?.txt ?? "MapComplete"
|
||||
const defaultTitle = layout?.title?.txt ?? "MapComplete"
|
||||
|
||||
if (selected === undefined) {
|
||||
return defaultTitle
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue