Skip to content

Properties assigned to $locale by other decorators are being removed #62

@mil-mly

Description

@mil-mly

Hello everybody :-)

I've found a problem on lines 83-85:

if (!newObject[key]) {
  delete oldObject[key];
}

This code removes all the properties of oldObject that does not exist in newObject, which removes properties assigned by other decorators of $locale service. Is this desired behavior?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions