Commit 1e4f64d2 authored by Filipa Lacerda's avatar Filipa Lacerda

Merge branch '29950-vue-pagination-icons' into 'master'

use correct first/last symbols in vue pagination component

Closes #29950

See merge request !10278
parents 65cc277d 3bb0a9c8
...@@ -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