Skip to content

Using .map function on getters returns null #1535

@irfandyj

Description

@irfandyj

Version

3.1.0

Reproduction link

https://jsfiddle.net/irfandyjip89/ts3uwza8/

Steps to reproduce

It was exactly in the JSFiddle, I was trying to return manipulated data based on the state through getters.
But it seems that I've done it wrong. I've been trying to google but it seems that the word map keep referencing me to mapGetters, mapState, etc. So, since I can't find any I thought I post one here. Thank you.

What is expected?

getters.issue returns the manipulated value

What is actually happening?

getters.issue returns Array of nulls

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