FIX: NotificationLevels import was incorrect (#10709)

This was causing NotificationLevels.muted to be undefined.
This commit is contained in:
Joffrey JAFFEUX
2020-09-19 11:27:20 +02:00
committed by GitHub
parent f785b04dc0
commit 50647366ed

View File

@@ -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({