Skip to content

Fix rendering context lines on MR diffs

Fatih Acet requested to merge _acet-fix-expanding-context-lines into master

Using v-once on MR diffs was causing weird re-rendering issues. When context lines fetched, Vue wasn't updating the line numbers and line contents because of v-once

Some examples of the bugs

Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/49242 and https://gitlab.com/gitlab-org/gitlab-ce/issues/49343

Edited by Fatih Acet

Merge request reports