From fc93adcfd5a3d80a095e1774df6a80bf120c58bf Mon Sep 17 00:00:00 2001 From: Jacob van Dam Date: Mon, 14 Sep 2020 17:23:01 +0200 Subject: [PATCH] Fixed generate button not visible Due to a wrong if statement the Generate button wouldn't be visible. --- src/Backend/Modules/Sitemaps/Layout/Templates/Index.html.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Backend/Modules/Sitemaps/Layout/Templates/Index.html.twig b/src/Backend/Modules/Sitemaps/Layout/Templates/Index.html.twig index 1737213..579ee41 100644 --- a/src/Backend/Modules/Sitemaps/Layout/Templates/Index.html.twig +++ b/src/Backend/Modules/Sitemaps/Layout/Templates/Index.html.twig @@ -2,7 +2,7 @@ {% import "Layout/Templates/macros.html.twig" as macro %} {% block actionbar %} - {% if showBrandsAdd %} + {% if showSitemapsGenerate %}
{{ macro.buttonIcon(geturl('Generate'), 'icon-refresh', 'lbl.Generate'|trans|ucfirst) }}