@webbio/strapi-plugin-page-builder 0.15.4-platform → 0.16.0-platform

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.
@@ -10,6 +10,7 @@ interface Props {
10
10
  export const Wrapper = (props: Props) => {
11
11
  return (
12
12
  <Flex
13
+ id="strapi-plugin-page-builder-edit-view"
13
14
  as="aside"
14
15
  direction="column"
15
16
  background="neutral0"
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webbio/strapi-plugin-page-builder",
3
- "version": "0.15.4-platform",
3
+ "version": "0.16.0-platform",
4
4
  "description": "This is the description of the plugin.",
5
5
  "scripts": {
6
6
  "develop": "tsc -p tsconfig.server.json -w",
@@ -23,12 +23,12 @@
23
23
  "@aws-sdk/client-ses": "^3.485.0",
24
24
  "@mantine/hooks": "^7.2.2",
25
25
  "@sindresorhus/slugify": "^2.2.1",
26
- "@strapi/design-system": "^1.11.0",
27
- "@strapi/helper-plugin": "^4.15.0",
28
- "@strapi/icons": "^1.11.0",
26
+ "@strapi/design-system": "^1.19.0",
27
+ "@strapi/helper-plugin": "^4.25.4",
28
+ "@strapi/icons": "^1.19.0",
29
29
  "@strapi/provider-email-amazon-ses": "^4.16.2",
30
- "@strapi/typescript-utils": "^4.15.0",
31
- "@strapi/utils": "^4.15.0",
30
+ "@strapi/typescript-utils": "^4.25.4",
31
+ "@strapi/utils": "^4.25.4",
32
32
  "add": "^2.0.6",
33
33
  "aws-sdk": "^2.1528.0",
34
34
  "fuse.js": "^7.0.0",
@@ -48,8 +48,8 @@
48
48
  "typescript": "5.1.6"
49
49
  },
50
50
  "peerDependencies": {
51
- "@strapi/strapi": "^4.15.0",
52
- "@webbio/strapi-plugin-slug": "^3.3.1",
51
+ "@strapi/strapi": "^4.25.4",
52
+ "@webbio/strapi-plugin-slug": "^3.3.2",
53
53
  "react": "^17.0.0 || ^18.0.0",
54
54
  "react-dom": "^17.0.0 || ^18.0.0",
55
55
  "react-router-dom": "^5.3.4",
@@ -98,11 +98,18 @@ exports.default = async ({ strapi }) => {
98
98
  }
99
99
  }
100
100
  return {
101
- $and: [
101
+ $or: [
102
102
  {
103
103
  'platform.id': {
104
104
  $eq: platform.id
105
105
  }
106
+ },
107
+ {
108
+ // This is a fix for not showing data after saving. After an update, no platform is returned for the page, so the permission system thinks the user has no access.
109
+ // All pages have a platform, so this fix won't break anything 🙏
110
+ 'platform.id': {
111
+ $eq: null
112
+ }
106
113
  }
107
114
  ]
108
115
  };