@ixo/editor 7.7.1 → 7.8.1
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/{CollectionUsersFlowDetail-JX6LGQKI.js → CollectionUsersFlowDetail-XC3TMKH2.js} +11 -1
- package/dist/{CollectionUsersFlowDetail-JX6LGQKI.js.map → CollectionUsersFlowDetail-XC3TMKH2.js.map} +1 -1
- package/dist/{chunk-EO4MTJFJ.js → chunk-CNWWHTCZ.js} +7 -5
- package/dist/chunk-CNWWHTCZ.js.map +1 -0
- package/dist/{connections-Du-QOZB0.d.ts → connections-CMnHbwgT.d.ts} +1 -1
- package/dist/core/index.d.ts +4 -4
- package/dist/{graphql-client-BYr5yPrt.d.ts → graphql-client-DVI_heaw.d.ts} +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.js +1 -1
- package/dist/mantine/index.d.ts +3 -3
- package/dist/mantine/index.js +1 -1
- package/dist/{types-DCBOtXnc.d.ts → types-B7YJr27H.d.ts} +1 -1
- package/package.json +1 -1
- package/dist/chunk-EO4MTJFJ.js.map +0 -1
package/dist/{CollectionUsersFlowDetail-JX6LGQKI.js → CollectionUsersFlowDetail-XC3TMKH2.js}
RENAMED
|
@@ -1131,6 +1131,15 @@ var BidInboxSection = ({
|
|
|
1131
1131
|
} else {
|
|
1132
1132
|
await h.rejectBid({ bidId: selectedBid.id, collectionId, did: selectedBid.did, reason: rejectReason.trim() || "Rejected", entityDid: deedDid });
|
|
1133
1133
|
}
|
|
1134
|
+
let bidCloseWarning = null;
|
|
1135
|
+
if (decision === "approve") {
|
|
1136
|
+
try {
|
|
1137
|
+
await h.approveBid({ bidId: selectedBid.id, collectionId, did: selectedBid.did, entityDid: deedDid });
|
|
1138
|
+
} catch (err) {
|
|
1139
|
+
console.warn("[collection:bids] grant succeeded but marking the bid approved failed", { bidId: selectedBid.id, err });
|
|
1140
|
+
bidCloseWarning = `Access was granted, but the bid could not be marked approved with the bids service, so it may still appear as pending. Do not approve it again. (${err instanceof Error ? err.message : "unknown error"})`;
|
|
1141
|
+
}
|
|
1142
|
+
}
|
|
1134
1143
|
onBidEvaluated(selectedBid.id, decision === "approve" ? "approved" : "rejected");
|
|
1135
1144
|
if (decision === "approve") onGrantsChanged();
|
|
1136
1145
|
setLastDecision({ kind: decision === "approve" ? "approved" : "rejected", name: granteeName, roleLabel: roleLabel2 });
|
|
@@ -1140,6 +1149,7 @@ var BidInboxSection = ({
|
|
|
1140
1149
|
setApproveQuota(String(DEFAULT_CONTRIBUTOR_QUOTA));
|
|
1141
1150
|
setApproveMaxAmounts(EMPTY_MAX_AMOUNTS);
|
|
1142
1151
|
await refreshBids();
|
|
1152
|
+
if (bidCloseWarning) setError(bidCloseWarning);
|
|
1143
1153
|
} catch (err) {
|
|
1144
1154
|
setError(err instanceof Error ? err.message : "Failed to evaluate bid");
|
|
1145
1155
|
} finally {
|
|
@@ -1272,4 +1282,4 @@ export {
|
|
|
1272
1282
|
CollectionUsersFlowDetail,
|
|
1273
1283
|
CollectionUsersFlowDetail_default as default
|
|
1274
1284
|
};
|
|
1275
|
-
//# sourceMappingURL=CollectionUsersFlowDetail-
|
|
1285
|
+
//# sourceMappingURL=CollectionUsersFlowDetail-XC3TMKH2.js.map
|