fix: Edit page crash when no template saved
All checks were successful
Build Docker / Build Main Image (push) Successful in 17s
Build Docker / Build SLDs Image (push) Successful in 19s

This commit is contained in:
Nathan Woodburn 2023-11-18 13:32:37 +11:00
parent c2d4a36da0
commit d2b78ea6cf
Signed by: nathanwoodburn
GPG Key ID: 203B000478AD0EF1

View File

@ -171,6 +171,8 @@ def edit():
if 'template' in data:
selected_template = data['template']
else:
selected_template = templates[0]
return render_template('edit.html',account=user['email'],account_link="account",account_link_name="Account",data=html,