FIX: last visit bar regression (#10224)

FIX: last visit bar regression (#10224)

Last visit regression bar is missing because of that change https://github.com/discourse/discourse/commit/9b7000dbf10

Order property was changed from “default” to null and it was picked by guard condition

diff --git a/app/assets/javascripts/discourse/app/components/topic-list.js b/app/assets/javascripts/discourse/app/components/topic-list.js
index b4661eb..2638061 100644
--- a/app/assets/javascripts/discourse/app/components/topic-list.js
+++ b/app/assets/javascripts/discourse/app/components/topic-list.js
@@ -85,7 +85,7 @@ export default Component.extend(LoadMore, {
       return;
     }
 
-    if (order !== "default" && order !== "activity") {
+    if (order && order !== "activity") {
       return;
     }
 

GitHub sha: 18049418

This commit appears in #10224 which was merged by SamSaffron.