Commit 1b09ecde authored by Martin Wortschack's avatar Martin Wortschack

Merge branch 'revert-706d0904' into 'master'

Revert "Merge branch '202639' into 'master'"

See merge request gitlab-org/gitlab!26955
parents acb9e825 c762ed60
......@@ -166,7 +166,6 @@ export default {
:href="lineHref"
@click="setHighlightedRow(lineCode)"
>
{{ lineNumber }}
</a>
<diff-gutter-avatars
v-if="shouldShowAvatarsOnGutter"
......
......@@ -485,6 +485,10 @@ table.code {
}
}
}
&:not(.js-unfold-bottom) a::before {
content: attr(data-linenumber);
}
}
&.line_content {
......
---
title: Replace line diff number css selector with actual HTML inside MRs
merge_request:
author: Oregand
type: other
......@@ -155,10 +155,6 @@ describe('DiffTableCell', () => {
});
});
it('renders the correct line number', () => {
expect(findLineNumber().text()).toEqual(TEST_LINE_NUMBER.toString());
});
it('on click, dispatches setHighlightedRow', () => {
expect(store.dispatch).not.toHaveBeenCalled();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment