mirror of
https://github.com/zadam/trilium.git
synced 2025-10-20 15:19:01 +02:00
fix(server): crash in prod due to RTL
This commit is contained in:
parent
b8ffb004ce
commit
c4358d52d5
@ -59,7 +59,7 @@ function index(req: Request, res: Response) {
|
||||
triliumVersion: packageJson.version,
|
||||
assetPath: assetPath,
|
||||
appPath: appPath,
|
||||
isRtl: LOCALES.find(l => l.id === options.locale)?.rtl
|
||||
isRtl: !!LOCALES.find(l => l.id === options.locale)?.rtl
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user