modify component
This commit is contained in:
parent
efcf762549
commit
d1f86a2f14
@ -8,7 +8,7 @@
|
||||
$: {
|
||||
if ($stockTicker && typeof window !== 'undefined') {
|
||||
// Correctly check if score is neither undefined nor null
|
||||
$scoreComponent = score !== undefined && score !== null;
|
||||
$scoreComponent = score !== undefined && score !== null && score !== 0;
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user