diff --git a/frontend/src/business/components/api/head/ApiHeaderMenus.vue b/frontend/src/business/components/api/head/ApiHeaderMenus.vue index 8b5a414e2d..f1f461f5ad 100644 --- a/frontend/src/business/components/api/head/ApiHeaderMenus.vue +++ b/frontend/src/business/components/api/head/ApiHeaderMenus.vue @@ -88,10 +88,11 @@ export default { } }, mounted() { + let self = this; ApiEvent.$on(LIST_CHANGE, () => { - this.$refs.projectRecent.recent(); - this.$refs.testRecent.recent(); - this.$refs.reportRecent.recent(); + self.$refs.projectRecent.recent(); + self.$refs.testRecent.recent(); + self.$refs.reportRecent.recent(); }); } } diff --git a/frontend/src/business/components/api/report/ApiReportView.vue b/frontend/src/business/components/api/report/ApiReportView.vue index 0cae8f8b0b..946200126d 100644 --- a/frontend/src/business/components/api/report/ApiReportView.vue +++ b/frontend/src/business/components/api/report/ApiReportView.vue @@ -1,6 +1,6 @@ diff --git a/frontend/src/business/components/api/test/ApiTestConfig.vue b/frontend/src/business/components/api/test/ApiTestConfig.vue index 18e2d50f9a..8272cafb1b 100644 --- a/frontend/src/business/components/api/test/ApiTestConfig.vue +++ b/frontend/src/business/components/api/test/ApiTestConfig.vue @@ -1,6 +1,6 @@