We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
original
When using the ngx-monaco-diff-editor component, input changes for original are not detected properly.
ngx-monaco-diff-editor
ngx-monaco-editor/src/ngx-monaco-editor/src/lib/components/monaco-diff-editor/monaco-diff-editor.component.ts
Line 72 in 952a865
I guess replacing (changes.code && !changes.code.firstChange) with (changes.original && !changes.original.firstChange) would solve the issue.
(changes.code && !changes.code.firstChange)
(changes.original && !changes.original.firstChange)
Should I create a PR for this?
The text was updated successfully, but these errors were encountered:
In fact, replacing these variables does fix the issue.
Sorry, something went wrong.
No branches or pull requests
When using the
ngx-monaco-diff-editor
component, input changes fororiginal
are not detected properly.ngx-monaco-editor/src/ngx-monaco-editor/src/lib/components/monaco-diff-editor/monaco-diff-editor.component.ts
Line 72 in 952a865
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?
The text was updated successfully, but these errors were encountered: