impact-chatbot 2.3.58 → 2.3.59

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs.js CHANGED
@@ -13354,7 +13354,8 @@ const SmartBot = (props) => {
13354
13354
  skipHierarchyCall: true,
13355
13355
  })();
13356
13356
  let showAgentIcon = await getAgentVisibilityData();
13357
- if (!lodash.isEmpty(accessDataResponse) && showAgentIcon) {
13357
+ if (!lodash.isEmpty(accessDataResponse) &&
13358
+ showAgentIcon?.data?.data[0]?.attribute_value?.value) {
13358
13359
  let appCode = utils$2.getApplicationCodeFromURL(applicationName);
13359
13360
  let list = await getAgentExceptionUserList(appCode);
13360
13361
  let isWhitelisted = false;