Skip to content

A platform for community discussion. Free, open, simple.

DEV: consistently return boolean in hasPastEntries (#37444)

Joffrey JAFFEUX9d40d63e92ef
diff --git a/frontend/discourse/app/services/history-store.js b/frontend/discourse/app/services/history-store.js
index 46c917cb055..353578e0878 100644
--- a/frontend/discourse/app/services/history-store.js
+++ b/frontend/discourse/app/services/history-store.js
@@ -80,6 +80,7 @@ export default class HistoryStore extends Service {
}
return key !== this.#uuid;
}
+ return false;
}
#pruneOldData() {