fix(ivy): inherited host listeners called twice (#29170)
Fixes host listeners being inherited twice when going through `setClassMetadata`. This PR resolves FW-1142. PR Close #29170
This commit is contained in:

committed by
Kara Erickson

parent
b6f6b1178f
commit
a746b5b1ea
@ -214,7 +214,7 @@ export class ReflectionCapabilities implements PlatformReflectionCapabilities {
|
||||
if (!isType(typeOrFunc)) {
|
||||
return {};
|
||||
}
|
||||
return this._ownPropMetadata(typeOrFunc, Object) || {};
|
||||
return this._ownPropMetadata(typeOrFunc, getParentCtor(typeOrFunc)) || {};
|
||||
}
|
||||
|
||||
hasLifecycleHook(type: any, lcProperty: string): boolean {
|
||||
|
Reference in New Issue
Block a user