This is an automated email from the ASF dual-hosted git repository. qiuxiafan pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/skywalking-rocketbot-ui.git
The following commit(s) were added to refs/heads/master by this push: new 3fb928a fix: DashboardItem miss prop `rocketOption` (#414) 3fb928a is described below commit 3fb928af14fe07db81183cfd7cb7d5484a645e23 Author: xuchangjun <9313869+xuchangju...@users.noreply.github.com> AuthorDate: Tue Jan 19 16:57:18 2021 +0800 fix: DashboardItem miss prop `rocketOption` (#414) * Fix(instances-survey): DashboardItem miss paramter `rocketOption` * Fix(endpoints-survey): DashboardItem miss prop `rocketOption` Co-authored-by: tianxuanzhizi <bowen...@bangdao-tech.com> --- src/views/containers/topology/endpoint/endpoints-survey.vue | 3 +++ src/views/containers/topology/instance/instances-survey.vue | 3 +++ 2 files changed, 6 insertions(+) diff --git a/src/views/containers/topology/endpoint/endpoints-survey.vue b/src/views/containers/topology/endpoint/endpoints-survey.vue index 37a9636..6c9551d 100644 --- a/src/views/containers/topology/endpoint/endpoints-survey.vue +++ b/src/views/containers/topology/endpoint/endpoints-survey.vue @@ -23,6 +23,7 @@ limitations under the License. --> :index="index" :type="'TOPOLOGY_ENDPOINT'" :updateObjects="updateObjects" + :rocketOption="stateDashboardOption" /> <div v-show="rocketGlobal.edit" class="rk-add-dashboard-item g-sm-3" @click="ADD_TOPO_ENDPOINT_COMP"> + Add An Item @@ -34,6 +35,7 @@ limitations under the License. --> import Vue from 'vue'; import { Component, Prop } from 'vue-property-decorator'; import { State, Mutation } from 'vuex-class'; + import { State as optionState } from '@/store/modules/dashboard/dashboard-option'; import DashboardItem from '@/views/components/dashboard/dashboard-item.vue'; @Component({ @@ -43,6 +45,7 @@ limitations under the License. --> }) export default class InstancesSurvey extends Vue { @State('rocketbot') private rocketGlobal: any; + @State('rocketOption') private stateDashboardOption!: optionState; @Mutation('rocketTopo/ADD_TOPO_ENDPOINT_COMP') private ADD_TOPO_ENDPOINT_COMP: any; @Prop() private endpointComps: any; @Prop() private updateObjects!: string; diff --git a/src/views/containers/topology/instance/instances-survey.vue b/src/views/containers/topology/instance/instances-survey.vue index 4e589f6..6d99852 100644 --- a/src/views/containers/topology/instance/instances-survey.vue +++ b/src/views/containers/topology/instance/instances-survey.vue @@ -23,6 +23,7 @@ limitations under the License. --> :index="index" :type="'TOPOLOGY_INSTANCE'" :updateObjects="updateObjects" + :rocketOption="stateDashboardOption" /> <div v-show="rocketGlobal.edit" class="rk-add-dashboard-item g-sm-3" @click="ADD_TOPO_INSTANCE_COMP"> + Add An Item @@ -34,6 +35,7 @@ limitations under the License. --> import Vue from 'vue'; import { Component, Prop } from 'vue-property-decorator'; import { State, Mutation } from 'vuex-class'; + import { State as optionState } from '@/store/modules/dashboard/dashboard-option'; import DashboardItem from '@/views/components/dashboard/dashboard-item.vue'; @Component({ @@ -43,6 +45,7 @@ limitations under the License. --> }) export default class InstancesSurvey extends Vue { @State('rocketbot') private rocketGlobal: any; + @State('rocketOption') private stateDashboardOption!: optionState; @Mutation('rocketTopo/ADD_TOPO_INSTANCE_COMP') private ADD_TOPO_INSTANCE_COMP: any; @Prop() private instanceComps: any; @Prop() private updateObjects!: string;