Show richtext also if not filled.
This commit is contained in:
parent
bc42f7fbb1
commit
f89c91dcaf
2 changed files with 2 additions and 2 deletions
|
@ -59,7 +59,7 @@ class App.OrganizationProfile extends App.Controller
|
||||||
name = nameNew
|
name = nameNew
|
||||||
|
|
||||||
# add to show if value exists
|
# add to show if value exists
|
||||||
if organization[name] && attributeConfig.shown
|
if ( organization[name] || attributeConfig.tag is 'richtext' ) && attributeConfig.shown
|
||||||
|
|
||||||
# do not show firstname and lastname / already show via diplayName()
|
# do not show firstname and lastname / already show via diplayName()
|
||||||
if name isnt 'name'
|
if name isnt 'name'
|
||||||
|
|
|
@ -58,7 +58,7 @@ class App.UserProfile extends App.Controller
|
||||||
name = nameNew
|
name = nameNew
|
||||||
|
|
||||||
# add to show if value exists
|
# add to show if value exists
|
||||||
if user[name] && attributeConfig.shown
|
if ( user[name] || attributeConfig.tag is 'richtext' ) && attributeConfig.shown
|
||||||
|
|
||||||
# do not show firstname and lastname / already show via diplayName()
|
# do not show firstname and lastname / already show via diplayName()
|
||||||
if name isnt 'firstname' && name isnt 'lastname' && name isnt 'organization'
|
if name isnt 'firstname' && name isnt 'lastname' && name isnt 'organization'
|
||||||
|
|
Loading…
Reference in a new issue