From a7919ade41cebddb2a54949b9e6923449b53b8a7 Mon Sep 17 00:00:00 2001 From: Matthew Morley Date: Sun, 15 Oct 2023 14:55:04 -0400 Subject: [PATCH] Further condense --- photon-client/src/components/dashboard/ConfigOptions.vue | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/photon-client/src/components/dashboard/ConfigOptions.vue b/photon-client/src/components/dashboard/ConfigOptions.vue index 8063149b88..fb808a24e9 100644 --- a/photon-client/src/components/dashboard/ConfigOptions.vue +++ b/photon-client/src/components/dashboard/ConfigOptions.vue @@ -104,7 +104,7 @@ const tabGroups = computed(() => { const isAprilTag = useCameraSettingsStore().currentWebsocketPipelineType === WebsocketPipelineType.AprilTag; const isAruco = useCameraSettingsStore().currentWebsocketPipelineType === WebsocketPipelineType.Aruco; - var ret = getTabGroups() + return getTabGroups() .map((tabGroup) => tabGroup.filter( (tabConfig) => @@ -117,7 +117,6 @@ const tabGroups = computed(() => { ) ) .filter((it) => it.length); - return ret; }); onBeforeUpdate(() => {