@paris-ias/list 1.0.61 → 1.0.63

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@paris-ias/list",
3
3
  "configKey": "list",
4
- "version": "1.0.61",
4
+ "version": "1.0.63",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.0",
7
7
  "unbuild": "3.5.0"
@@ -113,7 +113,7 @@ export const useRootStore = defineStore("rootStore", {
113
113
  resetState(type) {
114
114
  const { $stores, $models } = useNuxtApp();
115
115
  console.log("$models[type]: ", $models[type]);
116
- $stores[type] = $models[type].default();
116
+ $stores[type] = $models[type];
117
117
  console.log("resetState");
118
118
  this.search = "";
119
119
  this.page = 1;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "license": "AGPL-3.0-only",
3
3
  "main": "./dist/module.mjs",
4
- "version": "1.0.61",
4
+ "version": "1.0.63",
5
5
  "name": "@paris-ias/list",
6
6
  "repository": {
7
7
  "url": "git+https://github.com/IEA-Paris/list.git",