type OCPP16SupportedFeatureProfiles,
OCPPVersion
} from '../../../types/index.js'
-import { cloneObject, isNotEmptyArray, logger, roundTo } from '../../../utils/index.js'
+import { isNotEmptyArray, logger, roundTo } from '../../../utils/index.js'
import { OCPPServiceUtils } from '../OCPPServiceUtils.js'
export class OCPP16ServiceUtils extends OCPPServiceUtils {
public static isConfigurationKeyVisible (key: ConfigurationKey): boolean {
if (key.visible == null) {
- key = cloneObject(key)
- key.visible = true
+ return true
}
return key.visible
}