mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: GroupedView bug with latest Ember build
This commit is contained in:
@@ -9367,6 +9367,7 @@ define("ember-handlebars/helpers/view",
|
||||
} else if (isGlobalPath(path)) {
|
||||
return null;
|
||||
} else if (path === 'this' || path === '') {
|
||||
if (data.insideGroup && data.insideEach) { return 'context'; }
|
||||
return '_parentView.context';
|
||||
} else {
|
||||
return '_parentView.context.' + path;
|
||||
|
||||
@@ -9074,6 +9074,7 @@ define("ember-handlebars/helpers/view",
|
||||
} else if (isGlobalPath(path)) {
|
||||
return null;
|
||||
} else if (path === 'this' || path === '') {
|
||||
if (data.insideGroup && data.insideEach) { return 'context'; }
|
||||
return '_parentView.context';
|
||||
} else {
|
||||
return '_parentView.context.' + path;
|
||||
|
||||
Reference in New Issue
Block a user