function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
M UmerM Umer 

how to hide the lightning component popup on click of a custom button

I have created a aura lightning component and calling it on a quick action of on Contact detail page. There is no UI/Html elements in the component which means only purpose of the component is execute an Apex class. 
Currently all is working fine except a popup is shown when I click the quick action. Please I want this popup gone and quick action should behave seemlessly like other standard buttons.

This is the popup thats coming up:


User-added image



 
M UmerM Umer
Action setup:

User-added image
Naveen Reddy BeeramNaveen Reddy Beeram
        var dismissActionPanel = $A.get("e.force:closeQuickAction");
        dismissActionPanel.fire();
This will close the popup immeditely.