Skip to content

Commit 452c54e

Browse files
committed
fix
1 parent 347344c commit 452c54e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

addon.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,10 @@ module.exports = {
4646

4747
_findApp() {
4848
let parent = this.parent;
49-
while (parent.parent) {
49+
while (!parent.app) {
5050
parent = parent.parent;
5151
}
52-
return parent;
52+
return parent.app;
5353
},
5454

5555
_getAddonOptions() {

0 commit comments

Comments
 (0)