@empoweredvote/ev-ui 0.6.4 → 0.6.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -6072,6 +6072,7 @@ function StanceAccordion({
|
|
|
6072
6072
|
const questionText = fullTopic == null ? void 0 : fullTopic.question_text;
|
|
6073
6073
|
const topicQuotes = quotesCache.current ? quotesCache.current.filter((q) => {
|
|
6074
6074
|
if (!q.issue) return false;
|
|
6075
|
+
if (q.candidateId && q.candidateId !== politicianId) return false;
|
|
6075
6076
|
if (topic.topic_key) return q.issue === topic.topic_key;
|
|
6076
6077
|
return topic.short_title && q.issue.toLowerCase() === topic.short_title.toLowerCase();
|
|
6077
6078
|
}) : [];
|