liquid_feedback_frontend

changeset 1662:59cbb870253c

Show draft edit again on error
author bsw
date Mon Feb 15 14:17:51 2021 +0100 (2021-02-15)
parents fa9e93235e02
children 05d2f46c60c5
files app/main/draft/new.lua
line diff
     1.1 --- a/app/main/draft/new.lua	Sun Feb 14 15:22:57 2021 +0100
     1.2 +++ b/app/main/draft/new.lua	Mon Feb 15 14:17:51 2021 +0100
     1.3 @@ -126,10 +126,10 @@
     1.4            ui.container{ attr = { class = "mdl-card__content mdl-card--border" }, content = function()
     1.5  
     1.6  -- -------- PREVIEW
     1.7 -            if param.get("preview") then
     1.8 +            if param.get("preview") and slot.get_content("error") == "" then
     1.9                ui.sectionRow( function()
    1.10                  if not issue and not initiative then
    1.11 -                  ui.container { content = policy.name }
    1.12 +                  ui.container { content = policy and policy.name or "" }
    1.13                  end
    1.14                  if param.get("free_timing") then
    1.15                    ui.container { content = param.get("free_timing") }

Impressum / About Us