|
@@ -25,13 +25,11 @@ import { terms, privacyPolicy } from './joy-pages';
|
|
|
import election from './joy-election';
|
|
|
import proposals from './joy-proposals';
|
|
|
import roles from './joy-roles';
|
|
|
-import media from './joy-media';
|
|
|
import forum from './joy-forum';
|
|
|
|
|
|
export default function create (t: <T = string> (key: string, text: string, options: { ns: string }) => T): Routes {
|
|
|
return appSettings.uiMode === 'light'
|
|
|
? [
|
|
|
- media(t),
|
|
|
members(t),
|
|
|
roles(t),
|
|
|
election(t),
|
|
@@ -47,7 +45,6 @@ export default function create (t: <T = string> (key: string, text: string, opti
|
|
|
privacyPolicy(t)
|
|
|
]
|
|
|
: [
|
|
|
- media(t),
|
|
|
members(t),
|
|
|
roles(t),
|
|
|
election(t),
|