@sprucelabs/spruce-organization-utils 7.0.137 → 7.0.139

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.
@@ -45,8 +45,7 @@ class OrganizationListCardViewController extends heartwood_view_controllers_1.Ab
45
45
  id: org.id,
46
46
  isSelected: this.selectedOrgId === org.id,
47
47
  onClick: async () => {
48
- var _a;
49
- await ((_a = this.onEdit) === null || _a === void 0 ? void 0 : _a.call(this, org));
48
+ await this.onEdit?.(org);
50
49
  },
51
50
  //@ts-ignore
52
51
  cells: [
@@ -71,7 +70,6 @@ class OrganizationListCardViewController extends heartwood_view_controllers_1.Ab
71
70
  };
72
71
  }
73
72
  async handleDeleteOrg(org) {
74
- var _a;
75
73
  this.activeRecordCardVc.deleteRow(org.id);
76
74
  this.activeRecordCardVc.setIsBusy(true);
77
75
  const client = await this.connectToApi();
@@ -80,7 +78,7 @@ class OrganizationListCardViewController extends heartwood_view_controllers_1.Ab
80
78
  organizationId: org.id,
81
79
  },
82
80
  });
83
- await ((_a = this.onDelete) === null || _a === void 0 ? void 0 : _a.call(this, org));
81
+ await this.onDelete?.(org);
84
82
  this.activeRecordCardVc.setIsBusy(false);
85
83
  }
86
84
  async load() {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sprucelabs/spruce-organization-utils",
3
3
  "description": "Support for working with organizations and Sprucebot. 📈",
4
- "version": "7.0.137",
4
+ "version": "7.0.139",
5
5
  "skill": {
6
6
  "namespace": "organization"
7
7
  },