KKbes
2023-08-09 b954ea6b036aa2d37bc09ee7ef9b892c17e5f355
force-app/main/default/lwc/lexUpdateTimeReply/lexUpdateTimeReply.js
@@ -38,22 +38,15 @@
   @wire(getRecord, { recordId: USER_ID, fields: [USERPROFILE_ID]}) 
    userDetails({error, data}) {
        if (data) {
           this.currentUserProfileId =data.fields.ProfileId.value;
           console.log(data.fields);
           this.currentUserProfileId =data.fields.ProfileId.value;
        } else if (error) {
            this.error = error ;
        }
    }
    connectedCallback(){
        init({
            recordId: this.recordId
        }).then(result => {
            if (result != null) {
                this.Campaign = result;
                console.log(this.Campaign);
                this.UpdateTimeReply().then(result=>{
                  this.IsLoading=false;
               this.dispatchEvent(new CloseActionScreenEvent());
@@ -66,7 +59,13 @@
               variant : 'error'
           });
           this.dispatchEvent(eventInItError);
        });
        });
    }
    connectedCallback(){
    }
@@ -86,5 +85,6 @@
         this.dispatchEvent(event2);
         return;
      }
      setInterval
    }
}