mirror of
https://github.com/owncast/owncast.git
synced 2025-11-02 20:23:29 +08:00
Add option to hide viewer count. Closes #1939
This commit is contained in:
@ -75,6 +75,7 @@ export const initialServerConfigState: ConfigDetails = {
|
||||
chatDisabled: false,
|
||||
chatJoinMessagesEnabled: true,
|
||||
chatEstablishedUserMode: false,
|
||||
hideViewerCount: false,
|
||||
};
|
||||
|
||||
const initialServerStatusState = {
|
||||
@ -156,6 +157,7 @@ const ServerStatusProvider = ({ children }) => {
|
||||
};
|
||||
}, []);
|
||||
|
||||
// eslint-disable-next-line react/jsx-no-constructed-context-values
|
||||
const providerValue = {
|
||||
...status,
|
||||
serverConfig: config,
|
||||
|
||||
Reference in New Issue
Block a user