@steedos-widgets/amis-lib 6.3.12-beta.23 → 6.3.12-beta.25

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/dist/index.esm.js CHANGED
@@ -11040,7 +11040,7 @@ async function getRecordDetailSchema(objectName, appId, props = {}){
11040
11040
  content.tabs.push(related);
11041
11041
  }
11042
11042
  const contents = [content];
11043
- if (uiSchema.enable_chatter) {
11043
+ if (uiSchema.enable_chatter && window.BuilderLiveblocks) {
11044
11044
  const chatter = {
11045
11045
  "type": "rooms-provider",
11046
11046
  "baseUrl": "${context.rootUrl}",
@@ -11048,7 +11048,7 @@ async function getRecordDetailSchema(objectName, appId, props = {}){
11048
11048
  {
11049
11049
  "type": "rooms-comments",
11050
11050
  "className": "flex flex-col gap-3 m-4",
11051
- "roomId": "objects:${objectName}:{recordId}",
11051
+ "roomId": "objects:${objectName}:${recordId}",
11052
11052
  }
11053
11053
  ]
11054
11054
  };