1
0
mirror of synced 2026-08-05 15:26:55 +00:00

DEV: Check for presence of currentRoute.attributes (#870)

This commit is contained in:
jbrw
2024-10-25 13:30:29 -04:00
committed by GitHub
parent 8ded4b2e58
commit c479b177a7
@@ -7,7 +7,7 @@ export default class AiGistDisclosure extends Component {
@service router;
get shouldShow() {
return this.router.currentRoute.attributes.list?.topics?.some(
return this.router.currentRoute.attributes?.list?.topics?.some(
(topic) => topic.ai_topic_gist
);
}