Commit 3bb0a9c8 authored by Simon Knox's avatar Simon Knox

use correct first/last symbols in vue pagination component

parent d4c99f64
...@@ -3,8 +3,8 @@ const UI_LIMIT = 6; ...@@ -3,8 +3,8 @@ const UI_LIMIT = 6;
const SPREAD = '...'; const SPREAD = '...';
const PREV = 'Prev'; const PREV = 'Prev';
const NEXT = 'Next'; const NEXT = 'Next';
const FIRST = '<< First'; const FIRST = '« First';
const LAST = 'Last >>'; const LAST = 'Last »';
export default { export default {
props: { props: {
......
---
title: consistent icons in vue and kaminari pagers
merge_request:
author:
...@@ -83,7 +83,7 @@ describe('Pagination component', () => { ...@@ -83,7 +83,7 @@ describe('Pagination component', () => {
}, },
}).$mount(); }).$mount();
component.changePage({ target: { innerText: 'Last >>' } }); component.changePage({ target: { innerText: 'Last »' } });
expect(changeChanges.one).toEqual(10); expect(changeChanges.one).toEqual(10);
}); });
...@@ -100,7 +100,7 @@ describe('Pagination component', () => { ...@@ -100,7 +100,7 @@ describe('Pagination component', () => {
}, },
}).$mount(); }).$mount();
component.changePage({ target: { innerText: '<< First' } }); component.changePage({ target: { innerText: '« First' } });
expect(changeChanges.one).toEqual(1); expect(changeChanges.one).toEqual(1);
}); });
......
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