Have anybody any idea why in the inspector we have empty action string
cmp
<aura:component description="CountOpp"
controller="ControllerConfigClass"
implements = "force:appHostable,flexipage:availableForAllPageTypes,flexipage:availableForRecordHome,force:hasRecordId,force:lightningQuickAction"
access="global">
<aura:handler name="init" value="{!this}" action="{!c.doInit}" />
</aura:component>
controller
({
doInit : function (cmp, event, helper) {
helper.doInitAction(cmp, event);
}
});
helper
({
doInitAction : function (cmp, event) {
var action = cmp.get("c.check");
console.log("action: ", action);
}
});
controller Apex
public with sharing class ControllerConfigClass {
@AuraEnabled
public static String check(){
String isFeatureEnabled = 'test isFeatureEnabled';
System.debug('isFeatureEnabled ' + isFeatureEnabled);
return isFeatureEnabled;
}
}
Thx for any idea