Merge pull request #273 from wettiemans/fix/242-template-type-dropdown
This commit is contained in:
@@ -118,7 +118,7 @@ export default function TemplateEditorPage() {
|
||||
}
|
||||
};
|
||||
|
||||
if (!template) {
|
||||
if (!template || Object.keys(editedTemplate).length === 0) {
|
||||
return (
|
||||
<DashboardLayout>
|
||||
<div className="flex items-center justify-center min-h-[400px]">
|
||||
|
||||
Reference in New Issue
Block a user