|
|
@ -301,7 +301,7 @@ |
|
|
|
</template> |
|
|
|
|
|
|
|
<script lang="ts"> |
|
|
|
import {Axios, AxiosError} from "axios"; |
|
|
|
import { AxiosError } from "axios"; |
|
|
|
import { IndexableType } from "dexie"; |
|
|
|
import * as R from "ramda"; |
|
|
|
import { IIdentifier } from "@veramo/core"; |
|
|
@ -309,7 +309,7 @@ import { Component, Vue } from "vue-facing-decorator"; |
|
|
|
import { Router } from "vue-router"; |
|
|
|
|
|
|
|
import { AppString, NotificationIface } from "@/constants/app"; |
|
|
|
import {accountsDB, db, NonsensitiveDexie} from "@/db/index"; |
|
|
|
import { accountsDB, db } from "@/db/index"; |
|
|
|
import { Contact } from "@/db/tables/contacts"; |
|
|
|
import { MASTER_SETTINGS_KEY, Settings } from "@/db/tables/settings"; |
|
|
|
import { accessToken, getContactPayloadFromJwtUrl } from "@/libs/crypto"; |
|
|
@ -330,7 +330,6 @@ import OfferDialog from "@/components/OfferDialog.vue"; |
|
|
|
import { Account } from "@/db/tables/accounts"; |
|
|
|
|
|
|
|
import { Buffer } from "buffer/"; |
|
|
|
import {getIdentity} from "@/libs/util"; |
|
|
|
|
|
|
|
@Component({ |
|
|
|
components: { GiftedDialog, EntityIcon, OfferDialog, QuickNav }, |
|
|
@ -825,15 +824,7 @@ export default class ContactsView extends Vue { |
|
|
|
} |
|
|
|
|
|
|
|
async register(contact: Contact) { |
|
|
|
this.$notify( |
|
|
|
{ |
|
|
|
group: "alert", |
|
|
|
type: "toast", |
|
|
|
text: "", |
|
|
|
title: "Registration submitted...", |
|
|
|
}, |
|
|
|
1000, |
|
|
|
); |
|
|
|
this.$notify({ group: "alert", type: "toast", title: "Sent..." }, 1000); |
|
|
|
|
|
|
|
try { |
|
|
|
const regResult = await register( |
|
|
|