Skip to content

Commit

Permalink
fix(web): issue #2136
Browse files Browse the repository at this point in the history
  • Loading branch information
fiftin committed Jun 26, 2024
1 parent 41e72f1 commit bc500c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/views/project/Templates.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit bc500c8

Please sign in to comment.