This commit is contained in:
MuslemRahimi 2024-08-17 12:54:57 +02:00
parent f9f7502d9a
commit ea003e91ac

View File

@ -106,8 +106,7 @@ const getShareholders = async (ticker) => {
// Cache the data for this specific tickerID with a specific name 'getShareholders'
setCache(ticker, rawData, 'getShareholders');
}
if(Object?.keys(rawData)?.length !== 0) {
if(Object?.keys(rawData)?.length !== 0 && rawData?.shareholders?.length > 1) {
$shareholderComponent = true
}
else {