KKbes
2023-08-07 492f744d9d84289e27b2ddac9a9b4a2137fd11d6
force-app/main/default/lwc/lexUpdateTimeReply/lexUpdateTimeReply.js
@@ -39,21 +39,14 @@
    userDetails({error, data}) {
        if (data) {
           this.currentUserProfileId =data.fields.ProfileId.value;
           console.log(data.fields);
        } 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());
@@ -67,6 +60,12 @@
           });
           this.dispatchEvent(eventInItError);
        });
    }
    connectedCallback(){
    }
@@ -86,5 +85,6 @@
         this.dispatchEvent(event2);
         return;
      }
      setInterval
    }
}