mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-03-04 00:13:06 +08:00
chore(): fix CordovaInstanceProperty decorator (#2655)
This manifests in many plugins just not quite working right.
This commit is contained in:
parent
9e923fa8da
commit
fe87b68ccc
@ -6,7 +6,7 @@ export function instancePropertyGet(pluginObj: any, key: string) {
|
||||
}
|
||||
|
||||
export function instancePropertySet(pluginObj: any, key: string, value: any) {
|
||||
if (pluginObj._objectInstance && pluginObj._objectInstance[key]) {
|
||||
if (pluginObj._objectInstance) {
|
||||
pluginObj._objectInstance[key] = value;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user