fix error editing an offer, tweak tests to fix red in IntelliJ

This commit is contained in:
2024-08-18 14:13:42 -06:00
parent 877678b745
commit 014d4081e6
5 changed files with 11 additions and 17 deletions

View File

@@ -275,7 +275,7 @@ export default class OfferDetailsView extends Vue {
// find any project ID
let project;
if (
this.prevCredToEdit?.claim?.itemOffered?.isPartOf["@type"] ===
this.prevCredToEdit?.claim?.itemOffered?.isPartOf?.["@type"] ===
"PlanAction"
) {
project = this.prevCredToEdit?.claim?.itemOffered?.isPartOf;