@iobroker/adapter-react-v5 7.6.0 → 7.6.2

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.
@@ -1070,7 +1070,7 @@ function applyFilter(item, filters, lang, objects, context, counter, customFilte
1070
1070
  }
1071
1071
  if (!filteredOut && filters.role && common) {
1072
1072
  if (common) {
1073
- filteredOut = !(common.role && common.role.startsWith(context.role));
1073
+ filteredOut = !(typeof common.role === 'string' && common.role.startsWith(context.role));
1074
1074
  }
1075
1075
  else {
1076
1076
  filteredOut = true;