Changeset View
Changeset View
Standalone View
Standalone View
web/modals/threads/create/steps/subchannel-settings.react.js
Show All 25 Lines | const secretStatements = [ | ||||
statement: threadTypeDescriptions[COMMUNITY_SECRET_SUBTHREAD], | statement: threadTypeDescriptions[COMMUNITY_SECRET_SUBTHREAD], | ||||
isStatementValid: true, | isStatementValid: true, | ||||
styleStatementBasedOnValidity: false, | styleStatementBasedOnValidity: false, | ||||
}, | }, | ||||
]; | ]; | ||||
const announcementStatements = [ | const announcementStatements = [ | ||||
{ | { | ||||
statement: 'Admins can create Announcement channels.', | statement: | ||||
'Only admins and other admin-appointed roles can send ' + | |||||
'messages in an announcement channel.', | |||||
isStatementValid: true, | isStatementValid: true, | ||||
styleStatementBasedOnValidity: false, | styleStatementBasedOnValidity: false, | ||||
}, | }, | ||||
]; | ]; | ||||
export type VisibilityType = 'open' | 'secret'; | export type VisibilityType = 'open' | 'secret'; | ||||
type Props = { | type Props = { | ||||
▲ Show 20 Lines • Show All 81 Lines • Show Last 20 Lines |