add ability to give to fulfill an offer; adjust visibility of claim actions

This commit is contained in:
2024-01-12 15:54:45 -07:00
parent cb1f38c182
commit acaaf8776d
7 changed files with 178 additions and 76 deletions

View File

@@ -992,7 +992,7 @@ export default class ContactsView extends Vue {
"?",
)
) {
this.createAndSubmitGive(
this.createAndSubmitContactGive(
identity,
fromDid,
toDid,
@@ -1004,7 +1004,7 @@ export default class ContactsView extends Vue {
}
// similar function is in endorserServer.ts
private async createAndSubmitGive(
private async createAndSubmitContactGive(
identity: IIdentifier,
fromDid: string,
toDid: string,
@@ -1073,7 +1073,7 @@ export default class ContactsView extends Vue {
}
}
} catch (error) {
console.log("Error in createAndSubmitGive: ", error);
console.log("Error in createAndSubmitContactGive: ", error);
let userMessage = "There was an error. See logs for more info.";
const serverError = error as AxiosError;
if (serverError) {