use correct first/last symbols in vue pagination component
This commit is contained in:
parent
d4c99f644a
commit
3bb0a9c873
|
@ -3,8 +3,8 @@ const UI_LIMIT = 6;
|
|||
const SPREAD = '...';
|
||||
const PREV = 'Prev';
|
||||
const NEXT = 'Next';
|
||||
const FIRST = '<< First';
|
||||
const LAST = 'Last >>';
|
||||
const FIRST = '« First';
|
||||
const LAST = 'Last »';
|
||||
|
||||
export default {
|
||||
props: {
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
title: consistent icons in vue and kaminari pagers
|
||||
merge_request:
|
||||
author:
|
|
@ -83,7 +83,7 @@ describe('Pagination component', () => {
|
|||
},
|
||||
}).$mount();
|
||||
|
||||
component.changePage({ target: { innerText: 'Last >>' } });
|
||||
component.changePage({ target: { innerText: 'Last »' } });
|
||||
|
||||
expect(changeChanges.one).toEqual(10);
|
||||
});
|
||||
|
@ -100,7 +100,7 @@ describe('Pagination component', () => {
|
|||
},
|
||||
}).$mount();
|
||||
|
||||
component.changePage({ target: { innerText: '<< First' } });
|
||||
component.changePage({ target: { innerText: '« First' } });
|
||||
|
||||
expect(changeChanges.one).toEqual(1);
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue