forked from jsnbuchanan/crowd-funder-for-time-pwa
add ability to give to fulfill an offer; adjust visibility of claim actions
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user