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.esm.js CHANGED
@@ -13332,7 +13332,8 @@ const SmartBot = (props) => {
13332
13332
  skipHierarchyCall: true,
13333
13333
  })();
13334
13334
  let showAgentIcon = await getAgentVisibilityData();
13335
- if (!isEmpty$1(accessDataResponse) && showAgentIcon) {
13335
+ if (!isEmpty$1(accessDataResponse) &&
13336
+ showAgentIcon?.data?.data[0]?.attribute_value?.value) {
13336
13337
  let appCode = getApplicationCodeFromURL(applicationName);
13337
13338
  let list = await getAgentExceptionUserList(appCode);
13338
13339
  let isWhitelisted = false;