Small improvement, use api now.
This commit is contained in:
parent
4c03a338bb
commit
bc3e1e52b6
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ class TranslationSupport extends App.Controller
|
|||
check = =>
|
||||
|
||||
# to not translate en
|
||||
return if App.i18n.get().substr(0,2) is 'en'
|
||||
return if App.i18n.notTranslatedFeatureEnabled(App.i18n.get())
|
||||
|
||||
# only show for admins
|
||||
return if !@isRole('Admin')
|
||||
|
|
Loading…
Reference in a new issue