fix(prospecting): inline isPositiveFlag check to avoid scope issue
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -119,10 +119,10 @@
|
||||
<div class="flex items-center justify-between text-xs">
|
||||
<span class="text-gray-600 dark:text-gray-400" x-text="flag.replaceAll('_', ' ')"></span>
|
||||
<span class="font-semibold px-1.5 py-0.5 rounded"
|
||||
:class="isPositiveFlag(flag)
|
||||
:class="['has_website','has_contacts','has_email','has_phone','has_ssl','modern_cms','fast_site','mobile_friendly'].includes(flag)
|
||||
? 'text-green-700 bg-green-50 dark:text-green-300 dark:bg-green-900/30'
|
||||
: 'text-red-700 bg-red-50 dark:text-red-300 dark:bg-red-900/30'"
|
||||
x-text="(isPositiveFlag(flag) ? '+' : '-') + points"></span>
|
||||
x-text="(['has_website','has_contacts','has_email','has_phone','has_ssl','modern_cms','fast_site','mobile_friendly'].includes(flag) ? '+' : '-') + points"></span>
|
||||
</div>
|
||||
</template>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user