vuejs / devtools-v6

⚙️ Browser devtools extension for debugging Vue.js applications.
https://devtools-v6.vuejs.org/
MIT License
24.68k stars 4.14k forks source link

fix(vue2): Vuex: trim namespace for getter's path if it is not namespaced #2096

Closed Azurewarth0920 closed 9 months ago

Azurewarth0920 commented 1 year ago

Description

fix: #2031 When calculating the path of the getters, the non-namespaced should be trimmed. This PR will trim the path properly

Eg.

The path as is: ParentModule/ChildModule/ The path to be: ChildModule/

Additional context


What is the purpose of this pull request?

Before submitting the PR, please make sure you do the following