Remove debug code from ShareMyContactInfoView
- Remove debug logging and window.__SHARE_CONTACT_DEBUG__ property - Clean up eslint-disable comments and console.log statements - Simplify mounted() method to focus on core functionality
This commit is contained in:
@@ -75,15 +75,9 @@ export default class ShareMyContactInfoView extends Vue {
|
||||
isLoading = false;
|
||||
|
||||
async mounted() {
|
||||
// Debug logging for test diagnosis
|
||||
const settings = await this.$settings();
|
||||
|
||||
const activeDid = settings?.activeDid;
|
||||
// @ts-expect-error - Debug property for testing contact sharing functionality
|
||||
window.__SHARE_CONTACT_DEBUG__ = { settings, activeDid };
|
||||
// eslint-disable-next-line no-console
|
||||
if (!activeDid) {
|
||||
// eslint-disable-next-line no-console
|
||||
this.$router.push({ name: "home" });
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user