Skip to content

Commit

Permalink
fix no resources bug
Browse files Browse the repository at this point in the history
  • Loading branch information
SazukinPavel committed Feb 11, 2025
1 parent da12b54 commit a6ea18c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions admin-ui/src/components/instance/controls.vue
Original file line number Diff line number Diff line change
Expand Up @@ -287,8 +287,8 @@ export default {
},
resources:
this.type === "opensrs"
? { ...this.copyTemplate.billingPlan.resources }
: [...this.copyTemplate.billingPlan.resources],
? { ...(this.copyTemplate.billingPlan.resources || []) }
: [...(this.copyTemplate.billingPlan.resources || [])],
title,
};
Expand Down

0 comments on commit a6ea18c

Please sign in to comment.