Closed remorses closed 1 year ago
After i click a module in the list, close the tabs and open another one the module view does not change, it keeps the first one.
I am not a Vue expert but the problem seem to be here, the id doesn't seem to change on navigation, even if the query param is updated https://github.com/antfu/vite-plugin-inspect/blob/d9effc0e6624eb7e610ca55ae37a0a33e626a9d5/src/client/pages/index/module.vue#L10
This happens in this repo too
https://github.com/antfu/vite-plugin-inspect/
System: OS: macOS 13.3 CPU: (10) arm64 Apple M2 Pro Memory: 107.08 MB / 16.00 GB Shell: 5.9 - /bin/zsh Binaries: Node: 18.16.0 - ~/.local/share/pnpm/node Yarn: 1.22.19 - ~/.local/share/pnpm/yarn npm: 9.5.1 - ~/.local/share/pnpm/npm Browsers: Chrome: 114.0.5735.198 Safari: 16.4
pnpm
Describe the bug
After i click a module in the list, close the tabs and open another one the module view does not change, it keeps the first one.
I am not a Vue expert but the problem seem to be here, the id doesn't seem to change on navigation, even if the query param is updated https://github.com/antfu/vite-plugin-inspect/blob/d9effc0e6624eb7e610ca55ae37a0a33e626a9d5/src/client/pages/index/module.vue#L10
This happens in this repo too
Reproduction
https://github.com/antfu/vite-plugin-inspect/
System Info
Used Package Manager
pnpm
Validations