Updated the method for translating the component class value

This commit is contained in:
Cyrus 2024-03-22 09:46:50 -04:00
parent 465c9dea51
commit 60d1192b31

View File

@ -246,7 +246,7 @@ public class ComponentComparisonPageController extends PageController<Certificat
for (ComponentInfo info : componentInfos) {
if (!info.getDeviceName().isEmpty()) {
componentInfo = info;
componentClass = new ComponentClass("TCG", info.getComponentClass());
componentClass = new ComponentClass(info.getComponentClassRegistry(), info.getComponentClass());
componentInfo.setComponentClassStr(componentClass.toString());
tempList.add(componentInfo);
} else {