提交 3bb0a9c8 编写于 作者: S Simon Knox

use correct first/last symbols in vue pagination component

上级 d4c99f64
......@@ -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: {
......
---
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);
});
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册