Skip to content

Commit

Permalink
Fix IndexOutOfBoundsException in Qute DevUI
Browse files Browse the repository at this point in the history
Fixes #21713
  • Loading branch information
gastaldi committed Nov 25, 2021
1 parent 70f2f79 commit 9fd107e
Showing 1 changed file with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
{#if info:devQuteInfos.templates.isEmpty}
{#include main}
{#body}
<h1>No Templates found</h1>
{/body}
{/include}
{#else}
{#include main}
{#title}Render Preview{/title}
{#style}
Expand All @@ -8,7 +15,6 @@
<link rel="stylesheet" href="{devRootAppend}/resources/codemirror/lib/codemirror.css">
<link rel="stylesheet" href="{devRootAppend}/resources/codemirror/addon/hint/show-hint.css">
{/styleref}

{#body}
<form method="post" enctype="application/x-www-form-urlencoded" target="_blank">
<div class="form-group">
Expand Down Expand Up @@ -101,4 +107,5 @@


{/script}
{/include}
{/include}
{/if}

0 comments on commit 9fd107e

Please sign in to comment.