Skip to content

Commit 9690957

Browse files
committed
Update invalid controller method reference
1 parent d7c1fed commit 9690957

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

documentation/changelog.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Changelog
22

3+
## 0.83.1
4+
* Update invalid controller method reference
5+
36
## 0.83.0
47
* Allow opening in new tab for common controls
58

src/js/layouts/adminDefault.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,10 @@ export default {
110110
this.currentControllerType = ControllerType;
111111
}
112112
113-
if (controller.method && this.$refs.currentController[controller.method]) {
113+
if (
114+
this.$refs.currentController &&
115+
this.$refs.currentController[controller.method]
116+
) {
114117
115118
this.$nextTick(() => {
116119
this.$refs.currentController[controller.method](

0 commit comments

Comments
 (0)