-
+
{{
didInfo(
profile.issuerDid,
@@ -273,7 +279,10 @@
v-if="isAnywhereActive && profile.locLat && profile.locLon"
class="mt-1 text-xs text-slate-500"
>
-
+
{{
(profile.locLat > 0 ? "North" : "South") +
" in " +
@@ -313,11 +322,11 @@ import {
} from "../db/index";
import { Contact } from "../db/tables/contacts";
import { BoundingBox } from "../db/tables/settings";
+import { PlanData } from "../interfaces";
import {
didInfo,
errorStringForLog,
getHeaders,
- PlanData,
} from "../libs/endorserServer";
import { OnboardPage, retrieveAccountDids } from "../libs/util";
diff --git a/src/views/GiftedDetailsView.vue b/src/views/GiftedDetailsView.vue
index 08f1ba6..aaacc97 100644
--- a/src/views/GiftedDetailsView.vue
+++ b/src/views/GiftedDetailsView.vue
@@ -325,7 +325,7 @@ export default class GiftedDetails extends Vue {
try {
this.prevCredToEdit = (this.$route.query["prevCredToEdit"] as string)
? (JSON.parse(
- (this.$route.query["prevCredToEdit"] as string),
+ this.$route.query["prevCredToEdit"] as string,
) as GenericCredWrapper)
: undefined;
} catch (error) {
@@ -349,15 +349,16 @@ export default class GiftedDetails extends Vue {
(this.$route.query["description"] as string) ||
this.prevCredToEdit?.claim?.description ||
this.description;
- this.destinationPathAfter = (this.$route.query["destinationPathAfter"] as string) || "";
+ this.destinationPathAfter =
+ (this.$route.query["destinationPathAfter"] as string) || "";
this.giverDid = ((this.$route.query["giverDid"] as string) ||
- (this.prevCredToEdit?.claim?.agent as any)?.identifier ||
+ (this.prevCredToEdit?.claim?.agent as unknown as { identifier: string })
+ ?.identifier ||
this.giverDid) as string;
- this.giverName =
- ((this.$route.query["giverName"] as string) || "");
+ this.giverName = (this.$route.query["giverName"] as string) || "";
this.hideBackButton =
(this.$route.query["hideBackButton"] as string) === "true";
- this.message = ((this.$route.query["message"] as string) || "");
+ this.message = (this.$route.query["message"] as string) || "";
// find any offer ID
const fulfills = this.prevCredToEdit?.claim?.fulfills;
@@ -391,38 +392,38 @@ export default class GiftedDetails extends Vue {
const providerProject = providerArray.find(
(rec) => rec["@type"] === "PlanAction",
);
- this.providerProjectId = ((this.$route.query["providerProjectId"] as string) ||
+ this.providerProjectId = ((this.$route.query[
+ "providerProjectId"
+ ] as string) ||
providerProject?.identifier ||
this.providerProjectId) as string;
this.recipientDid = ((this.$route.query["recipientDid"] as string) ||
this.prevCredToEdit?.claim?.recipient?.identifier) as string;
- this.recipientName =
- ((this.$route.query["recipientName"] as string) || "");
+ this.recipientName = (this.$route.query["recipientName"] as string) || "";
this.unitCode = ((this.$route.query["unitCode"] as string) ||
this.prevCredToEdit?.claim?.object?.unitCode ||
this.unitCode) as string;
- this.imageUrl =
- ((this.$route.query["imageUrl"] as string) ||
+ this.imageUrl = ((this.$route.query["imageUrl"] as string) ||
this.prevCredToEdit?.claim?.image ||
localStorage.getItem("imageUrl") ||
this.imageUrl) as string;
// this is an endpoint for sharing project info to highlight something given
// https://developer.mozilla.org/en-US/docs/Web/Manifest/share_target
- if ((this.$route.query["shareTitle"] as string)) {
+ if (this.$route.query["shareTitle"] as string) {
this.description =
((this.$route.query["shareTitle"] as string) || "") +
(this.description ? "\n" + this.description : "");
}
- if ((this.$route.query["shareText"] as string)) {
+ if (this.$route.query["shareText"] as string) {
this.description =
(this.description ? this.description + "\n" : "") +
((this.$route.query["shareText"] as string) || "");
}
- if ((this.$route.query["shareUrl"] as string)) {
- this.imageUrl = (this.$route.query["shareUrl"] as string);
+ if (this.$route.query["shareUrl"] as string) {
+ this.imageUrl = this.$route.query["shareUrl"] as string;
}
const settings = await retrieveSettingsForActiveAccount();
diff --git a/src/views/HelpNotificationsView.vue b/src/views/HelpNotificationsView.vue
index 2538233..c027986 100644
--- a/src/views/HelpNotificationsView.vue
+++ b/src/views/HelpNotificationsView.vue
@@ -313,11 +313,12 @@ import { DIRECT_PUSH_TITLE, sendTestThroughPushServer } from "../libs/util";
import PushNotificationPermission from "../components/PushNotificationPermission.vue";
import { db } from "../db/index";
import { MASTER_SETTINGS_KEY } from "../db/tables/settings";
+import { Router } from "vue-router";
@Component({ components: { PushNotificationPermission, QuickNav } })
export default class HelpNotificationsView extends Vue {
$notify!: (notification: NotificationIface, timeout?: number) => void;
-
+ $router!: Router;
subscriptionJSON?: PushSubscriptionJSON;
async mounted() {
diff --git a/src/views/HelpOnboardingView.vue b/src/views/HelpOnboardingView.vue
index f32d769..989effc 100644
--- a/src/views/HelpOnboardingView.vue
+++ b/src/views/HelpOnboardingView.vue
@@ -24,8 +24,9 @@
Then watch that page to see when they accept their invite.
- (That page is also reachable from the Contacts page
- though the invitation icon.)
+ (That page is also reachable from the Contacts
+ page though the invitation
+ icon.)
Next Steps
@@ -35,12 +36,13 @@
Without a backup, you can lose data.
- Exporting backups (from the Account screen)
- is important for the case where they lose their device. This is
- especially true for the Identifier Seed: that is theirs and and theirs
- alone, and currently nobody else can recover it if they lose it. The
- good thing is that anyone can create a new account and simply inform
- their network of their new ID.
+ Exporting backups (from the Account
+ screen) is important for the case
+ where they lose their device. This is especially true for the
+ Identifier Seed: that is theirs and and theirs alone, and currently
+ nobody else can recover it if they lose it. The good thing is that
+ anyone can create a new account and simply inform their network of
+ their new ID.
diff --git a/src/views/HelpView.vue b/src/views/HelpView.vue
index 48fb8a3..efc3edc 100644
--- a/src/views/HelpView.vue
+++ b/src/views/HelpView.vue
@@ -588,6 +588,7 @@ import {
@Component({ components: { QuickNav } })
export default class Help extends Vue {
$notify!: (notification: NotificationIface, timeout?: number) => void;
+ $router!: Router;
package = Package;
commitHash = import.meta.env.VITE_GIT_HASH;
@@ -614,7 +615,7 @@ export default class Help extends Vue {
finishedOnboarding: false,
});
}
- (this.$router as Router).push({ name: "home" });
+ this.$router.push({ name: "home" });
}
}
diff --git a/src/views/HomeView.vue b/src/views/HomeView.vue
index 0462d44..d7336fc 100644
--- a/src/views/HomeView.vue
+++ b/src/views/HomeView.vue
@@ -37,8 +37,7 @@
You should see a prompt to install, or you can click on the
top-right dots
- />
- and then "Install" and then "Install"
-
+