diff --git a/src/components/views/settings/Notifications.js b/src/components/views/settings/Notifications.js index 792db55f79..bd68276cb6 100644 --- a/src/components/views/settings/Notifications.js +++ b/src/components/views/settings/Notifications.js @@ -28,13 +28,13 @@ var Modal = require('matrix-react-sdk/lib/Modal'); * @enum {string} */ var PushRuleVectorState = { + /** The push rule is disabled */ + OFF: "off", /** The user will receive push notification for this rule */ ON: "on", /** The user will receive push notification for this rule with sound and highlight if this is legitimate */ LOUD: "loud", - /** The push rule is disabled */ - OFF: "off" }; // Encodes a dictionary of { @@ -840,6 +840,13 @@ module.exports = React.createClass({ {title} +