@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.js
CHANGED
|
@@ -6150,6 +6150,7 @@ function StanceAccordion({
|
|
|
6150
6150
|
const questionText = fullTopic == null ? void 0 : fullTopic.question_text;
|
|
6151
6151
|
const topicQuotes = quotesCache.current ? quotesCache.current.filter((q) => {
|
|
6152
6152
|
if (!q.issue) return false;
|
|
6153
|
+
if (q.candidateId && q.candidateId !== politicianId) return false;
|
|
6153
6154
|
if (topic.topic_key) return q.issue === topic.topic_key;
|
|
6154
6155
|
return topic.short_title && q.issue.toLowerCase() === topic.short_title.toLowerCase();
|
|
6155
6156
|
}) : [];
|