modify component

This commit is contained in:
MuslemRahimi 2024-10-09 20:45:32 +02:00
parent efcf762549
commit d1f86a2f14

View File

@ -8,7 +8,7 @@
$: { $: {
if ($stockTicker && typeof window !== 'undefined') { if ($stockTicker && typeof window !== 'undefined') {
// Correctly check if score is neither undefined nor null // Correctly check if score is neither undefined nor null
$scoreComponent = score !== undefined && score !== null; $scoreComponent = score !== undefined && score !== null && score !== 0;
} }
} }
</script> </script>