Skip to content

Commit 7855921

Browse files
committed
5316: return null instead of error
1 parent 3c9fe8f commit 7855921

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

assets/shared/slide-utils/templates-admin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ function getAdminModule(templateUlid) {
4040
null;
4141

4242
if (module === null) {
43-
throw new Error(`Cannot find admin template with '${templateUlid}'`);
43+
return null;
4444
}
4545

4646
return module;

0 commit comments

Comments
 (0)