Skip to content

Ember array methods #224

@allthesignals

Description

@allthesignals

I'm seeing, filterBy is not a function, which is used in the application controller outside the main class scope:

const {
  defaultLayerGroupState,
} = config;

const defaultLayerGroups = defaultLayerGroupState.filterBy('visible').mapBy('id').sort();

export default class ApplicationController extends Controller

Are ember array prototype extensions not supported? I'm guessing this is the relevant issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions