FIX: NotificationLevels import was incorrect (#10709)

FIX: NotificationLevels import was incorrect (#10709)

This was causing NotificationLevels.muted to be undefined.

diff --git a/app/assets/javascripts/discourse/app/models/topic-details.js b/app/assets/javascripts/discourse/app/models/topic-details.js
index 3ae37ab..ce2f983 100644
--- a/app/assets/javascripts/discourse/app/models/topic-details.js
+++ b/app/assets/javascripts/discourse/app/models/topic-details.js
@@ -9,7 +9,7 @@ import getURL from "discourse-common/lib/get-url";
   A model representing a Topic's details that aren't always present, such as a list of participants.
   When showing topics in lists and such this information should not be required.
 **/
-import NotificationLevels from "discourse/lib/notification-levels";
+import { NotificationLevels } from "discourse/lib/notification-levels";
 import RestModel from "discourse/models/rest";
 
 const TopicDetails = RestModel.extend({

GitHub sha: 50647366

1 Like

This commit appears in #10709 which was merged by jjaffeux.