@saooti/octopus-sdk 41.0.12-SNAPSHOT → 41.0.14-SNAPSHOT

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": "@saooti/octopus-sdk",
3
- "version": "41.0.12-SNAPSHOT",
3
+ "version": "41.0.14-SNAPSHOT",
4
4
  "private": false,
5
5
  "description": "Javascript SDK for using octopus",
6
6
  "author": "Saooti",
@@ -28,7 +28,7 @@
28
28
  "
29
29
  :filter="fakeSearch"
30
30
  :selectable="() => !maxOptionsSelected"
31
- class="h-100"
31
+ :style="{height: height }"
32
32
  :class="{ 'border border-danger': textDanger?.length }"
33
33
  @open="onSearch"
34
34
  @search="onSearch"
@@ -93,7 +93,8 @@ watch(()=>generalStore.contentToDisplay, async () => {
93
93
  needToBlur.value = false;
94
94
  return;
95
95
  }
96
- const proxyUrl = useProxyImageUrl(generalStore.contentToDisplay.imageUrl,"270", undefined, true);
96
+ const widthAsked = window.innerWidth > 960 ? "1600":"1000";
97
+ const proxyUrl = useProxyImageUrl(generalStore.contentToDisplay.imageUrl,widthAsked, undefined, true);
97
98
  try {
98
99
  const result = await axios.get(proxyUrl);
99
100
  headerBackgroundImage.value = `background-image: url('${result.data}');`;
@@ -52,7 +52,7 @@ export const useFilterStore = defineStore("FilterStore", {
52
52
  this.filterRubrique = rubriqueFilter;
53
53
  },
54
54
  filterUpdateRubriqueDisplay(rubriques: Array<Rubrique>) {
55
- this.filterRubriqueDisplay = rubriques;
55
+ this.filterRubriqueDisplay = rubriques.filter(rubrique=> rubrique);
56
56
  },
57
57
  filterUpdateMedia(filter: {
58
58
  type?: string;