This commit is contained in:
Henning Dieterichs 2022-09-29 17:03:48 +02:00 committed by GitHub
parent f8ba3353d1
commit f1d4fced59
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -86,6 +86,10 @@ export class ConflictActionsFactory extends Disposable {
}
const items = derived('items', reader => {
if (!viewModel.model.hasBaseRange(modifiedBaseRange)) {
return [];
}
const state = viewModel.model.getState(modifiedBaseRange).read(reader);
const handled = viewModel.model.isHandled(modifiedBaseRange).read(reader);
const model = viewModel.model;