2017-08-17 22:00:37 +05:30
|
|
|
export default {
|
|
|
|
createNumberRandomUsers(numberUsers) {
|
|
|
|
const users = [];
|
2018-11-08 19:23:39 +05:30
|
|
|
for (let i = 0; i < numberUsers; i += 1) {
|
2018-12-13 13:39:08 +05:30
|
|
|
users.push({
|
|
|
|
avatar: 'https://gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon',
|
|
|
|
id: i + 1,
|
|
|
|
name: `GitLab User ${i}`,
|
|
|
|
username: `gitlab${i}`,
|
|
|
|
});
|
2017-08-17 22:00:37 +05:30
|
|
|
}
|
|
|
|
return users;
|
|
|
|
},
|
|
|
|
};
|