mirror of
https://ghfast.top/https://github.com/discourse/discourse-follow.git
synced 2026-07-15 11:36:38 +08:00
16 lines
587 B
Text
16 lines
587 B
Text
import Component from "@ember/component";
|
|
import { classNames, tagName } from "@ember-decorators/component";
|
|
import FollowNotificationPreferences from "../../components/follow-notification-preferences";
|
|
|
|
@tagName("div")
|
|
@classNames(
|
|
"user-preferences-notifications-outlet",
|
|
"follow-notification-preferences-container"
|
|
)
|
|
export default class FollowNotificationPreferencesContainer extends Component {
|
|
static shouldRender(_, context) {
|
|
return context.siteSettings.follow_notifications_enabled;
|
|
}
|
|
|
|
<template><FollowNotificationPreferences @user={{this.model}} /></template>
|
|
}
|