mirror of
https://github.com/semaphoreui/semaphore.git
synced 2024-11-23 20:35:24 +01:00
fix(web): issue https://github.com/semaphoreui/semaphore/issues/2136
This commit is contained in:
parent
41e72f1c48
commit
bc500c8853
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user