Skip to content

Commit

Permalink
refactor: access key using get()
Browse files Browse the repository at this point in the history
  • Loading branch information
MrChocolatine committed Nov 4, 2023
1 parent e34af43 commit 1ec28a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addon/components/feature-controls.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export default class FeatureControlsComponent extends Component {
)

// Model is a local copy of the list of flags register for features service, used to compute properties on the full list
let model = (this.features.flags || []).map((key) => {
let model = (this.features.get('flags') || []).map((key) => {
let meta =
((this.featureControls && this.featureControls.metadata) || []).find((obj) => {
return this._normalizeFlag(obj.key) === key
Expand Down

0 comments on commit 1ec28a8

Please sign in to comment.