fixed admin filter phone number by SP (#531)

This commit is contained in:
Hoan Luu Huu
2025-05-30 18:24:31 +07:00
committed by GitHub
parent 1723326890
commit 9ab592a898

View File

@@ -83,6 +83,9 @@ export const PhoneNumbers = () => {
page_size: Number(perPageFilter), page_size: Number(perPageFilter),
...(accSid && { account_sid: accSid }), ...(accSid && { account_sid: accSid }),
...(filter && { filter }), ...(filter && { filter }),
...(currentServiceProvider?.service_provider_sid && {
service_provider_sid: currentServiceProvider.service_provider_sid,
}),
}) })
.then(({ json }) => { .then(({ json }) => {
if (json) { if (json) {