vuex icon indicating copy to clipboard operation
vuex copied to clipboard

Incorrect hasModule function behavior for nested paths

Open egorbabintcev opened this issue 3 years ago • 0 comments

Version

3.6.2

Reproduction link

codesandbox.io

Steps to reproduce

You just have to call Store.hasModule function with non-existed nested path, deeper or equal to 3 levels (e.g. Store.hasModule(['unexistable', 'module', 'path'])

What is expected?

Correct boolean result for calling with non-existed 3 or deeper level path

What is actually happening?

Error in internal module method

egorbabintcev avatar Apr 26 '22 10:04 egorbabintcev