@@ -1198,7 +1198,6 @@ export class ProfileComponent implements OnInit {
1198
1198
try {
1199
1199
const profileData = await this . relayService . loadProfileMetadata ( pubkey ) ;
1200
1200
if ( profileData ) {
1201
- console . log ( 'Loaded profile:' , profileData ) ;
1202
1201
this . profile = {
1203
1202
name : profileData . name || '' ,
1204
1203
displayName : profileData . displayName || '' ,
@@ -1265,18 +1264,13 @@ export class ProfileComponent implements OnInit {
1265
1264
async setActiveTab ( tabId : string ) {
1266
1265
this . activeTab = tabId ;
1267
1266
1268
- console . log ( 'Active TAB:' , tabId ) ;
1269
- console . log ( 'Members:' , this . members ) ;
1270
-
1271
1267
// Load member profiles when switching to members tab
1272
1268
if ( tabId === 'members' && this . members . pubkeys . length > 0 ) {
1273
1269
1274
1270
const validPubkeys = this . members . pubkeys . filter ( pk => pk && pk . length > 0 ) ;
1275
1271
if ( validPubkeys . length > 0 ) {
1276
1272
const profiles = await this . relayService . fetchMemberProfiles ( validPubkeys ) ;
1277
1273
1278
- console . log ( 'PROFILES:' , profiles ) ;
1279
-
1280
1274
profiles . forEach ( profile => {
1281
1275
this . memberProfiles [ profile . npub ] = profile ;
1282
1276
} ) ;
@@ -1465,15 +1459,13 @@ export class ProfileComponent implements OnInit {
1465
1459
for ( const event of events ) {
1466
1460
const ndkEvent = new NDKEvent ( this . relayService . ndk ! , event ) ;
1467
1461
const published = await ndkEvent . publish ( ) ;
1468
- console . log ( 'PUBLISHED: ' , published ) ;
1469
1462
}
1470
1463
} else if ( result . key ) {
1471
1464
this . relayService . ndk ! . signer = new NDKPrivateKeySigner ( result . key ) ;
1472
1465
1473
1466
for ( const event of events ) {
1474
1467
const ndkEvent = new NDKEvent ( this . relayService . ndk ! , event ) ;
1475
1468
const published = await ndkEvent . publish ( ) ;
1476
- console . log ( 'PUBLISHED: ' , published ) ;
1477
1469
}
1478
1470
}
1479
1471
0 commit comments