fix(dashboard): breaking store page due to default currency (#7915)
* chore: fix breaking store page due to default currency * fix: remote query checks all data when scoped by id * chore: minor change
This commit is contained in:
@@ -87,6 +87,7 @@ export class RemoteQuery {
|
||||
select?: string[]
|
||||
relations: string[]
|
||||
args: JoinerArgument
|
||||
take?: number | null
|
||||
} {
|
||||
expand = JSON.parse(JSON.stringify(expand))
|
||||
|
||||
@@ -222,6 +223,10 @@ export class RemoteQuery {
|
||||
)
|
||||
}
|
||||
|
||||
if (ids?.length && !hasPagination) {
|
||||
options.take = null
|
||||
}
|
||||
|
||||
const result = await service[methodName](filters, options)
|
||||
|
||||
if (hasPagination) {
|
||||
|
||||
Reference in New Issue
Block a user