Skip to content

Vuex - Object method is not visible in inspector #945

@nbgmtin

Description

@nbgmtin

Version

5.0.6

Browser and OS info

Chrome 73.0.3683.86 (64-bit)/ Windows 10

Steps to reproduce

Create a Vuex state that contains an object that has a method.
Example:

const state = {
   items: {
      doodle: function(){
          return true;
       } 
   }
}

What is expected?

The method should be visible in the inspector when viewing the Vuex state.

What is actually happening?

The method is not visible.


When I look at the props of the template receiving the state the method is visible. It is not visible in vuex state.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions