Skip to content

Changes to original property not detected properly #100

Description

When using the ngx-monaco-diff-editor component, input changes for original are not detected properly.

if (this.editor && ((changes.code && !changes.code.firstChange) || (changes.modified && !changes.modified.firstChange))) {

I guess replacing (changes.code && !changes.code.firstChange) with (changes.original && !changes.original.firstChange) would solve the issue.

Should I create a PR for this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions