Fix duplicate export declarations and migrate ContactsView with sub-components
- Remove duplicate NOTIFY_INVITE_MISSING and NOTIFY_INVITE_PROCESSING_ERROR exports - Update InviteOneAcceptView.vue to use correct NOTIFY_INVITE_TRUNCATED_DATA constant - Migrate ContactsView to PlatformServiceMixin and extract into modular sub-components - Resolves TypeScript compilation errors preventing web build
This commit is contained in:
@@ -82,11 +82,11 @@ export default class ShareMyContactInfoView extends Vue {
|
||||
// @ts-ignore
|
||||
window.__SHARE_CONTACT_DEBUG__ = { settings, activeDid };
|
||||
// eslint-disable-next-line no-console
|
||||
console.log('[ShareMyContactInfoView] mounted', { settings, activeDid });
|
||||
console.log("[ShareMyContactInfoView] mounted", { settings, activeDid });
|
||||
if (!activeDid) {
|
||||
// eslint-disable-next-line no-console
|
||||
console.log('[ShareMyContactInfoView] No activeDid, redirecting to root');
|
||||
this.$router.push({ name: 'home' });
|
||||
console.log("[ShareMyContactInfoView] No activeDid, redirecting to root");
|
||||
this.$router.push({ name: "home" });
|
||||
}
|
||||
}
|
||||
|
||||
@@ -134,10 +134,7 @@ export default class ShareMyContactInfoView extends Vue {
|
||||
/**
|
||||
* Generate the contact message URL for sharing
|
||||
*/
|
||||
private async generateContactMessage(
|
||||
settings: Settings,
|
||||
account: Account,
|
||||
) {
|
||||
private async generateContactMessage(settings: Settings, account: Account) {
|
||||
const givenName = settings.firstName || "";
|
||||
const isRegistered = !!settings.isRegistered;
|
||||
const profileImageUrl = settings.profileImageUrl || "";
|
||||
|
||||
Reference in New Issue
Block a user