@integry/sdk 4.6.13 → 4.6.14

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": "@integry/sdk",
3
- "version": "4.6.13",
3
+ "version": "4.6.14",
4
4
  "description": "Integry SDK",
5
5
  "main": "dist/umd/index.umd.js",
6
6
  "module": "dist/esm/index.csm.js",
@@ -68,6 +68,7 @@ interface ListBoxProps {
68
68
  valueKeyPath?: string;
69
69
  dataSourceBody?: any;
70
70
  parentFieldChanged?: boolean;
71
+ allowWorkspaceConnectedAccounts: boolean;
71
72
  }
72
73
 
73
74
  const ListBox = (props: ListBoxProps) => {
@@ -110,6 +111,7 @@ const ListBox = (props: ListBoxProps) => {
110
111
  isMultiSelect = false,
111
112
  dataSourceBody = {},
112
113
  parentFieldChanged = false,
114
+ allowWorkspaceConnectedAccounts = false,
113
115
  } = props;
114
116
 
115
117
  const [query, setQuery] = useState<string>('');
@@ -280,6 +282,9 @@ const ListBox = (props: ListBoxProps) => {
280
282
  data.connected_account_id = selectedAuthId;
281
283
  data.authorization_id = selectedAuthId;
282
284
  }
285
+ if (allowWorkspaceConnectedAccounts) {
286
+ data.allow_workspace_connected_accounts = true;
287
+ }
283
288
  } catch (error) {
284
289
  data = '';
285
290
  }
@@ -1473,6 +1473,9 @@ class ActionForm extends Component<ActionFormPropsType, ActionFormStateType> {
1473
1473
  parentFieldChanged=${
1474
1474
  this.state.parentFieldChanged
1475
1475
  }
1476
+ allowWorkspaceConnectedAccounts=${!!this.props
1477
+ .onFieldChangeCallback}
1478
+
1476
1479
  ><//>
1477
1480
  </${ConfigureFieldWrapper}>
1478
1481
  </div>`;