mirror of
https://github.com/gosticks/react-bootstrap-table2.git
synced 2026-06-28 21:20:04 +00:00
fix custom filter value example broken
This commit is contained in:
@@ -41,6 +41,14 @@ export const jobsGenerator = (quantity = 5) =>
|
||||
type: jobType[Math.floor((Math.random() * 4) + 1)]
|
||||
}));
|
||||
|
||||
export const jobsGenerator1 = (quantity = 5) =>
|
||||
Array.from({ length: quantity }, (value, index) => ({
|
||||
id: index,
|
||||
name: `Job name ${index}`,
|
||||
owner: Math.floor((Math.random() * 2) + 1),
|
||||
type: Math.floor((Math.random() * 4) + 1)
|
||||
}));
|
||||
|
||||
export const todosGenerator = (quantity = 5) =>
|
||||
Array.from({ length: quantity }, (value, index) => ({
|
||||
id: index,
|
||||
|
||||
Reference in New Issue
Block a user