@monoui/vuejs 1.1.41 → 1.1.42

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@monoui/vuejs",
3
- "version": "1.1.41",
3
+ "version": "1.1.42",
4
4
  "description": "This project will contain MonoFor UI Framework",
5
5
  "main": "./dist/main.js",
6
6
  "repository": "git@gitlab.com:monoui/vuejs.git",
@@ -495,13 +495,16 @@ export default {
495
495
  this.addPopStateListener();
496
496
  },
497
497
  async mounted() {
498
- this.loadHistory();
498
+ if (this.history)
499
+ this.loadHistory();
500
+
499
501
  if (this.autoLoad) {
500
502
  await this.getValues();
501
503
  }
502
504
  },
503
505
  methods: {
504
506
  addPopStateListener() {
507
+ if (this.history)
505
508
  window.addEventListener("popstate", this.popStateEvent);
506
509
  },
507
510
  removePopStateListener() {