This commit is contained in:
fiftin 2024-06-26 14:35:26 +05:00
parent 41e72f1c48
commit bc500c8853
No known key found for this signature in database
GPG Key ID: 044381366A5D4731

View File

@ -399,7 +399,7 @@ export default {
return;
}
const template = this.items.find((item) => item.id === data.template_id);
const template = (this.items || []).find((item) => item.id === data.template_id);
if (template == null) {
return;