fix: pageLimit only accepts certain numbers
Signed-off-by: Enrico Alvarenga <enricomalvarenga@gmail.com>
This commit is contained in:
committed by
Camila Belo
parent
19d979dc48
commit
0a8fda4de9
@@ -11,3 +11,5 @@ app:
|
||||
initialState:
|
||||
pageLimit: 50
|
||||
```
|
||||
|
||||
Acceptable values for `pageLimit` are `10`, `25`, `50` or `100`.
|
||||
|
||||
@@ -20,6 +20,8 @@ app:
|
||||
pageLimit: 50
|
||||
```
|
||||
|
||||
Acceptable values for `pageLimit` are `10`, `25`, `50` or `100`.
|
||||
|
||||
### Areas of Responsibility
|
||||
|
||||
This search plugin is primarily responsible for the following:
|
||||
|
||||
Vendored
+1
-1
@@ -33,7 +33,7 @@ export interface Config {
|
||||
*
|
||||
* @visibility frontend
|
||||
*/
|
||||
pageLimit?: number;
|
||||
pageLimit?: 10 | 25 | 50 | 100;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user