Browse Source

fix: fix the claim-add-raw view to work with axios

pull/177/head
Trent Larson 1 week ago
parent
commit
6482cfa6a3
  1. 1
      src/views/AccountViewView.vue
  2. 2
      src/views/ClaimAddRawView.vue

1
src/views/AccountViewView.vue

@ -1154,6 +1154,7 @@ export default class AccountViewView extends Vue {
} catch (error) {
if (error.status === 404) {
// this is ok: the profile is not yet created
logger.info("Note that axios may have logged an error but it just doesn't exist.");
} else {
databaseUtil.logConsoleAndDb(
"Error loading profile: " + errorStringForLog(error),

2
src/views/ClaimAddRawView.vue

@ -30,7 +30,6 @@
<script lang="ts">
import { Component, Vue } from "vue-facing-decorator";
import { AxiosInstance } from "axios";
import QuickNav from "../components/QuickNav.vue";
import { NotificationIface, USE_DEXIE_DB } from "../constants/app";
@ -54,7 +53,6 @@ export default class ClaimAddRawView extends Vue {
$notify!: (notification: NotificationIface, timeout?: number) => void;
$route!: RouteLocationNormalizedLoaded;
$router!: Router;
axios!: AxiosInstance;
accountIdentityStr: string = "null";
activeDid = "";

Loading…
Cancel
Save