FIX: 'currentUser' is a property of the 'widget'
This commit is contained in:
parent
347e3e5a46
commit
06e3b25d04
|
@ -19,8 +19,8 @@ export default class PostCooked {
|
|||
|
||||
if (decoratorHelper) {
|
||||
this.decoratorHelper = decoratorHelper;
|
||||
if (decoratorHelper.widget && decoratorHelper.currentUser) {
|
||||
this.currentUser = decoratorHelper.currentUser;
|
||||
if (decoratorHelper.widget && decoratorHelper.widget.currentUser) {
|
||||
this.currentUser = decoratorHelper.widget.currentUser;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue