This is an automated email from the ASF dual-hosted git repository.

xiangying pushed a commit to branch branch-0.5.0
in repository https://gitbox.apache.org/repos/asf/pulsar-manager.git

commit 139f6f59aa43cf6053d6ba13d25cf36de50ba7e0
Author: linkun <linkun0...@163.com>
AuthorDate: Mon Aug 7 15:27:46 2023 +0800

    fix: this.postFormbroker is undefind in broker.vue (#529)
    
    (cherry picked from commit b601dfb78b0eecbd1d3ba68f172563afca75a215)
---
 front-end/src/views/management/brokers/broker.vue | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/front-end/src/views/management/brokers/broker.vue 
b/front-end/src/views/management/brokers/broker.vue
index 2f15888..48cb33b 100644
--- a/front-end/src/views/management/brokers/broker.vue
+++ b/front-end/src/views/management/brokers/broker.vue
@@ -222,7 +222,7 @@ export default {
         for (var policy in res.data) {
           for (var i in res.data[policy].primary) {
             var regexPrimary = new RegExp(res.data[policy].primary[i])
-            if (regexPrimary.test(this.postFormbroker)) {
+            if (regexPrimary.test(this.postForm.broker)) {
               if (tempIsolationPolicy.indexOf(policy) < 0) {
                 tempIsolationPolicy.push(policy)
               }
@@ -230,7 +230,7 @@ export default {
           }
           for (var j in res.data[policy].secondary) {
             var regexSecondary = new RegExp(res.data[policy].secondary[j])
-            if (regexSecondary.test(this.postFormbroker)) {
+            if (regexSecondary.test(this.postForm.broker)) {
               if (tempIsolationPolicy.indexOf(policy) < 0) {
                 tempIsolationPolicy.push(policy)
               }

Reply via email to