Skip to content

Commit

Permalink
Merge pull request #1997 from slntopp/dev-fixes
Browse files Browse the repository at this point in the history
fix no resources bug
  • Loading branch information
SazukinPavel authored Feb 11, 2025
2 parents 1122063 + a6ea18c commit 981bb3a
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 981bb3a

Please sign in to comment.