From b1fd8923ca14fdd3d431cce09f9b528685378f42 Mon Sep 17 00:00:00 2001 From: Peter Olu Date: Tue, 3 May 2022 12:12:05 +0100 Subject: [PATCH] toggle trace filters --- src/views/dashboard/controls/Tab.vue | 3 +- src/views/dashboard/panel/Tool.vue | 262 +++++++++---------- src/views/dashboard/related/trace/Filter.vue | 8 + 3 files changed, 131 insertions(+), 142 deletions(-) diff --git a/src/views/dashboard/controls/Tab.vue b/src/views/dashboard/controls/Tab.vue index 4b625e7b..b91d60b0 100644 --- a/src/views/dashboard/controls/Tab.vue +++ b/src/views/dashboard/controls/Tab.vue @@ -266,7 +266,7 @@ export default defineComponent({ } ); - function clickTabs(e: Event, idx: number) { + function clickTabs(e: Event, idx: number) { e.stopPropagation(); activeTabIndex.value = idx; dashboardStore.activeGridItem(props.data.i); @@ -279,6 +279,7 @@ export default defineComponent({ dashboardStore.layout[l].children[activeTabIndex.value].children ); needQuery.value = true; + console.log(dashboardStore.layout[0]) } function removeTab(e: Event) { e.stopPropagation(); diff --git a/src/views/dashboard/panel/Tool.vue b/src/views/dashboard/panel/Tool.vue index 261208e5..1739afc6 100644 --- a/src/views/dashboard/panel/Tool.vue +++ b/src/views/dashboard/panel/Tool.vue @@ -13,112 +13,116 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. -->