Fix: design and few function
This commit is contained in:
@@ -200,7 +200,7 @@ export default function SendToBeneficiaryOthers() {
|
||||
});
|
||||
const data = await response.json();
|
||||
if (response.ok && Array.isArray(data)) {
|
||||
const filterSAaccount = data.filter((acc) => ['SA', 'SB'].includes(acc.stAccountType));
|
||||
const filterSAaccount = data.filter((acc) => ['SA', 'SB','CC','OD','CA'].includes(acc.stAccountType));
|
||||
setAccountData(filterSAaccount);
|
||||
}
|
||||
} catch {
|
||||
|
||||
Reference in New Issue
Block a user