Skip to content

State property 'operator' is undefined #56

Description

@nschainblatt

The property operator in the state object is not implemented and is used in both group filter and advanced group filter functionality.

Image


    /**
     * Writes the currently selected group's to the top bar, and injects 'OR' if there are multiple
     * filters selected.
     */
    writeActiveGroups(){
        let text = `Active Groups:`;
        let stateLength = this.state._activeGroups.length;
        
        if(stateLength > 0){
            text += _GroupHelper.generateActiveHeaderText(this.state, stateLength, this.groupsDictionary, **this.state.operator**);
            this.deleteAllBtn.style.display = 'inline';
        } else {
            text += ` All`;
            this.deleteAllBtn.style.display = 'none';
        }

        this.activeLabel.innerHTML = text;
    }


Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions