add options in config
This commit is contained in:
@ -13,7 +13,7 @@ import { LivechatProsodyAuth } from './prosody/auth'
|
||||
import { loc } from './loc'
|
||||
const escapeHTML = require('escape-html')
|
||||
|
||||
type AvatarSet = 'sepia' | 'cat' | 'bird' | 'fenec' | 'abstract' | 'legacy'
|
||||
type AvatarSet = 'sepia' | 'cat' | 'bird' | 'fenec' | 'abstract' | 'legacy' | 'nctv'
|
||||
|
||||
async function initSettings (options: RegisterServerOptions): Promise<void> {
|
||||
const { peertubeHelpers, settingsManager } = options
|
||||
@ -506,6 +506,7 @@ function initThemingSettings ({ registerSetting }: RegisterServerOptions): void
|
||||
private: true,
|
||||
options: [
|
||||
{ value: 'sepia', label: loc('avatar_set_option_sepia') },
|
||||
{ value: 'NCTV', label: loc('avatar_set_option_nctv') },
|
||||
{ value: 'cat', label: loc('avatar_set_option_cat') },
|
||||
{ value: 'bird', label: loc('avatar_set_option_bird') },
|
||||
{ value: 'fenec', label: loc('avatar_set_option_fenec') },
|
||||
|
Reference in New Issue
Block a user