@sprucelabs/spruce-organization-utils 2.3.18 → 2.3.21
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.
|
@@ -82,7 +82,6 @@ export default class OrganizationListCardViewController extends AbstractViewCont
|
|
|
82
82
|
handleDeleteOrg(org) {
|
|
83
83
|
var _a;
|
|
84
84
|
return __awaiter(this, void 0, void 0, function* () {
|
|
85
|
-
yield ((_a = this.onDelete) === null || _a === void 0 ? void 0 : _a.call(this, org));
|
|
86
85
|
this.activeRecordCardVc.deleteRow(org.id);
|
|
87
86
|
this.activeRecordCardVc.setIsBusy(true);
|
|
88
87
|
const client = yield this.connectToApi();
|
|
@@ -91,6 +90,7 @@ export default class OrganizationListCardViewController extends AbstractViewCont
|
|
|
91
90
|
organizationId: org.id,
|
|
92
91
|
},
|
|
93
92
|
});
|
|
93
|
+
yield ((_a = this.onDelete) === null || _a === void 0 ? void 0 : _a.call(this, org));
|
|
94
94
|
this.activeRecordCardVc.setIsBusy(false);
|
|
95
95
|
});
|
|
96
96
|
}
|
|
@@ -72,7 +72,6 @@ class OrganizationListCardViewController extends heartwood_view_controllers_1.Ab
|
|
|
72
72
|
}
|
|
73
73
|
async handleDeleteOrg(org) {
|
|
74
74
|
var _a;
|
|
75
|
-
await ((_a = this.onDelete) === null || _a === void 0 ? void 0 : _a.call(this, org));
|
|
76
75
|
this.activeRecordCardVc.deleteRow(org.id);
|
|
77
76
|
this.activeRecordCardVc.setIsBusy(true);
|
|
78
77
|
const client = await this.connectToApi();
|
|
@@ -81,6 +80,7 @@ class OrganizationListCardViewController extends heartwood_view_controllers_1.Ab
|
|
|
81
80
|
organizationId: org.id,
|
|
82
81
|
},
|
|
83
82
|
});
|
|
83
|
+
await ((_a = this.onDelete) === null || _a === void 0 ? void 0 : _a.call(this, org));
|
|
84
84
|
this.activeRecordCardVc.setIsBusy(false);
|
|
85
85
|
}
|
|
86
86
|
async load() {
|