# HG changeset patch # User bsw # Date 1597929311 -7200 # Node ID 97b7b783db4291ef17c4f063923f64c123438c56 # Parent 056bccb61eeec7c1b72f003be877da0ea52adc16 Show location selector in new draft view diff -r 056bccb61eee -r 97b7b783db42 app/main/draft/new.lua --- a/app/main/draft/new.lua Thu Aug 20 15:08:00 2020 +0200 +++ b/app/main/draft/new.lua Thu Aug 20 15:15:11 2020 +0200 @@ -400,6 +400,15 @@ end } end } end } + + if config.map or config.firstlife then + ui.cell_sidebar{ content = function() + ui.container{ attr = { class = "mdl-special-card map mdl-shadow--2dp" }, content = function() + ui.field.location{ name = "location", value = param.get("location") } + end } + end } + end + end } end }