diff --git a/src/views/NewEditProjectView.vue b/src/views/NewEditProjectView.vue index cceaaaf..cab2b87 100644 --- a/src/views/NewEditProjectView.vue +++ b/src/views/NewEditProjectView.vue @@ -265,6 +265,8 @@ export default class NewEditProjectView extends Vue { vcClaim.agent = { identifier: this.agentDid, }; + } else { + delete vcClaim.agent; } if (this.includeLocation) { vcClaim.location = { @@ -274,6 +276,8 @@ export default class NewEditProjectView extends Vue { longitude: this.longitude, }, }; + } else { + delete vcClaim.location; } // Make a payload for the claim const vcPayload = {