mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
[fix] Wrong variable type 'indefined'
This commit is contained in:
parent
1baf558208
commit
561b0b54c9
1 changed files with 1 additions and 1 deletions
|
@ -772,7 +772,7 @@ app = Sammy('#main', function (sam) {
|
||||||
data.settings.allowed_users = (data.settings.allowed_users) ? data.settings.allowed_users.replace(',', ', ') : '';
|
data.settings.allowed_users = (data.settings.allowed_users) ? data.settings.allowed_users.replace(',', ', ') : '';
|
||||||
|
|
||||||
// Multilingual description
|
// Multilingual description
|
||||||
data.description = (typeof data.manifest.description[y18n.locale] !== 'indefined') ?
|
data.description = (typeof data.manifest.description[y18n.locale] !== 'undefined') ?
|
||||||
data.manifest.description[y18n.locale] :
|
data.manifest.description[y18n.locale] :
|
||||||
data.manifest.description['en']
|
data.manifest.description['en']
|
||||||
;
|
;
|
||||||
|
|
Loading…
Add table
Reference in a new issue