@adminforth/quick-filters 1.2.0 → 1.2.1

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/build.log CHANGED
@@ -7,5 +7,5 @@ custom/
7
7
  custom/FiltersArea.vue
8
8
  custom/tsconfig.json
9
9
 
10
- sent 12,833 bytes received 58 bytes 25,782.00 bytes/sec
10
+ sent 12,836 bytes received 58 bytes 25,788.00 bytes/sec
11
11
  total size is 12,621 speedup is 0.98
package/dist/index.js CHANGED
@@ -45,6 +45,6 @@ export default class extends AdminForthPlugin {
45
45
  instanceUniqueRepresentation(pluginOptions) {
46
46
  // optional method to return unique string representation of plugin instance.
47
47
  // Needed if plugin can have multiple instances on one resource
48
- return `single`;
48
+ return `${this.resourceConfig.resourceId}-quick-filters`;
49
49
  }
50
50
  }
package/index.ts CHANGED
@@ -42,7 +42,7 @@ export default class extends AdminForthPlugin {
42
42
  instanceUniqueRepresentation(pluginOptions: any) : string {
43
43
  // optional method to return unique string representation of plugin instance.
44
44
  // Needed if plugin can have multiple instances on one resource
45
- return `single`;
45
+ return `${this.resourceConfig.resourceId}-quick-filters`;
46
46
  }
47
47
 
48
48
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adminforth/quick-filters",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "type": "module",