gatsby-core-theme 40.0.7 → 40.0.8

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/CHANGELOG.md CHANGED
@@ -1,3 +1,18 @@
1
+ ## [40.0.8](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/compare/v40.0.7...v40.0.8) (2024-10-22)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * fix module postion adminbar ([52ad9a2](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/52ad9a2c23e21a445a1f5831adf683e0a8eb42a1))
7
+ * update code on validatedata component ([8c571c5](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/8c571c557182dd055bc767d632ff741e661af9a2))
8
+ * update code on validatedata component ([42e014f](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/42e014faa51ad42d5b59d9007343bead45c848a8))
9
+ * update code on validatedata component ([5bd7592](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/5bd7592d6c339f7cc3cea6d8145a0b2f619ba4a4))
10
+ * update code on validatedata component ([999034f](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/999034f6f6f8974d95d6315a0a8ac20b405df0d6))
11
+ * update valudateData component to include cardsv2 ([aec30dd](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/aec30dd454fe6fd991ea5a92ffdcfaf33d6fd333))
12
+
13
+
14
+ * Merge branch 'pre-main-cards-v2' into 'master' ([9dc2ad0](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/9dc2ad00344bd752052d0371b77d10c895b18220))
15
+
1
16
  ## [40.0.7](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/compare/v40.0.6...v40.0.7) (2024-10-22)
2
17
 
3
18
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gatsby-core-theme",
3
- "version": "40.0.7",
3
+ "version": "40.0.8",
4
4
  "description": "Gatsby Theme NPM Package",
5
5
  "author": "",
6
6
  "license": "ISC",
@@ -184,7 +184,7 @@ const Modules = ({ module, page, pageContext, modulePosition }) => {
184
184
  </Suspense>
185
185
  )}
186
186
 
187
- {admin && <AdminButton page={page} module={module} modulePosition={modulePosition} /> }
187
+ {admin && <AdminButton page={page} module={module} modulePosition={modulePosition - 1} /> }
188
188
  </div>
189
189
  )
190
190
  )
@@ -2,8 +2,12 @@
2
2
  // eslint-disable-next-line import/prefer-default-export
3
3
  export const checkForInactiveOperatorToplist = (item, status) => {
4
4
  const shortCode = item && item.items && item.items.length && item.items[0].value;
5
- if (item.name === 'top_list' && status === 'active' && shortCode === 'inactive_operator_toplist')
6
- return true;
5
+ if (
6
+ ((item.name === "top_list" && shortCode === "inactive_operator_toplist") ||
7
+ item.name === "cards_v2") &&
8
+ status === "active"
9
+ )
10
+ return true;
7
11
 
8
12
  return false;
9
13
  };