client: fix ternary statement
All checks were successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/lint-foundkey-js Pipeline was successful
ci/woodpecker/push/lint-client Pipeline was successful
ci/woodpecker/push/lint-backend Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
All checks were successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/lint-foundkey-js Pipeline was successful
ci/woodpecker/push/lint-client Pipeline was successful
ci/woodpecker/push/lint-backend Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
fixup for 4bfbe0dd96
This commit is contained in:
parent
4bfbe0dd96
commit
14c7d2bf53
1 changed files with 5 additions and 1 deletions
|
@ -129,7 +129,11 @@ const fetchMore = async (ahead?: boolean): Promise<void> => {
|
|||
if (!ahead) {
|
||||
backed = true;
|
||||
}
|
||||
const params = props.pagination.params ? isRef(props.pagination.params) ? props.pagination.params : props.pagination.params : {};
|
||||
const params = props.pagination.params
|
||||
? isRef(props.pagination.params)
|
||||
? props.pagination.params.value as Record<string, any>
|
||||
: props.pagination.params
|
||||
: {};
|
||||
await os.api(props.pagination.endpoint, {
|
||||
...params,
|
||||
limit: SECOND_FETCH_LIMIT + 1,
|
||||
|
|
Loading…
Reference in a new issue