diff --git a/packages/admin/src-admin/src/components/Adapters/AdapterGeneric.tsx b/packages/admin/src-admin/src/components/Adapters/AdapterGeneric.tsx index c8f876f98..bed72cd3a 100644 --- a/packages/admin/src-admin/src/components/Adapters/AdapterGeneric.tsx +++ b/packages/admin/src-admin/src/components/Adapters/AdapterGeneric.tsx @@ -676,8 +676,7 @@ export default abstract class AdapterGeneric< .getObject(`system.adapter.${this.props.adapterName}`) .then(obj => { if (obj?.common) { - // @ts-expect-error Fixed in js-controller 7 - obj.common.ignoreVersion = ignoreVersion; + (obj.common as any).ignoreVersion = ignoreVersion; this.props.context.socket .setObject(obj._id, obj) .catch(error => window.alert(`Cannot write object: ${error}`));