@saooti/octopus-sdk 30.0.41 → 30.0.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/README.md CHANGED
@@ -537,4 +537,5 @@ See [Configuration Reference](https://cli.vuejs.org/config/).
537
537
  * 30.0.37 Commentaires
538
538
  * 30.0.38 EmissionList expose
539
539
  * 30.0.39 Listes inline taille item
540
- * 30.0.41 Inline list arrow
540
+ * 30.0.41 Inline list arrow
541
+ * 30.0.42 Resize rubriqueList
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@saooti/octopus-sdk",
3
- "version": "30.0.41",
3
+ "version": "30.0.42",
4
4
  "private": false,
5
5
  "description": "Javascript SDK for using octopus",
6
6
  "author": "Saooti",
@@ -112,8 +112,10 @@ export default defineComponent({
112
112
  initRubriques(): void{
113
113
  if(!this.rubriquage){ return ;}
114
114
  this.$store.commit('filterRubriqueDisplay', this.rubriquage.rubriques);
115
- window.addEventListener('resize', this.resizeWindow);
116
- this.resizeWindow();
115
+ this.$nextTick(() => {
116
+ window.addEventListener('resize', this.resizeWindow);
117
+ this.resizeWindow();
118
+ });
117
119
  },
118
120
  addFilter(rubrique: Rubrique): void{
119
121
  if(!this.rubriquage){ return ;}