Can't use JS save navigation (#18)

Can’t use JS save navigation (#18)

diff --git a/assets/javascripts/discourse/helpers/category-expert-question-indicator.js b/assets/javascripts/discourse/helpers/category-expert-question-indicator.js
index 98208f6..d8b8f2f 100644
--- a/assets/javascripts/discourse/helpers/category-expert-question-indicator.js
+++ b/assets/javascripts/discourse/helpers/category-expert-question-indicator.js
@@ -7,7 +7,7 @@ export function categoryExpertQuestionIndicator(topic, currentUser) {
 
   if (
     currentUser.staff ||
-    topic.creator?.id === currentUser.id ||
+    (topic.creator && topic.creator.id === currentUser.id) ||
     currentUser.expert_for_category_ids.includes(topic.category_id)
   ) {
     return htmlSafe(

GitHub sha: f8815314

This commit appears in #18 which was approved by udan11. It was merged by markvanlan.