diff --git a/src/components/RegistrationNotice.vue b/src/components/RegistrationNotice.vue new file mode 100644 index 00000000..fb977f14 --- /dev/null +++ b/src/components/RegistrationNotice.vue @@ -0,0 +1,32 @@ + + + \ No newline at end of file diff --git a/src/views/AccountViewView.vue b/src/views/AccountViewView.vue index 0b44aac5..23d7521b 100644 --- a/src/views/AccountViewView.vue +++ b/src/views/AccountViewView.vue @@ -54,28 +54,11 @@ /> - - +
(); UserNameDialog, DataExportSection, IdentitySection, + RegistrationNotice, }, mixins: [PlatformServiceMixin], }) @@ -1708,5 +1693,21 @@ export default class AccountViewView extends Vue { onCopyDid(did: string) { this.doCopyTwoSecRedo(did, () => (this.showDidCopy = !this.showDidCopy)); } + + get showRegistrationNotice(): boolean { + // Show the notice if not registered and any other conditions you want + return !this.isRegistered; + } + + onShareInfo() { + // Call the existing logic for sharing info, e.g., open the share dialog + this.openShareDialog(); + } + + // Placeholder for share dialog logic + openShareDialog() { + // TODO: Implement share dialog logic + this.notify.info('Share dialog not yet implemented.'); + } }