Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
MatTolladay committed Jun 20, 2024
1 parent a69067f commit c6a7849
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions src/views/TopologyDisplayView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -116,12 +116,7 @@ import { useWorkflowsStore } from '@/stores/workflows'
import type { TopologyNode } from '@deltares/fews-pi-requests'
import type { WebOcTopologyDisplayConfig } from '@deltares/fews-pi-requests'
import {
computed,
ref,
watch,
watchEffect,
} from 'vue'
import { computed, ref, watch, watchEffect } from 'vue'
import {
type RouteLocationNamedRaw,
onBeforeRouteUpdate,
Expand Down Expand Up @@ -441,7 +436,7 @@ function reroute(to: RouteLocationNormalized) {
if (
showLeafsAsButton.value &&
(typeof to.params.nodeId === 'string' ||
(Array.isArray(to.params.nodeId) && to.params.nodeId.length === 1))
(Array.isArray(to.params.nodeId) && to.params.nodeId.length === 1))
) {
const parentNodeId = Array.isArray(to.params.nodeId)
? to.params.nodeId[0]
Expand Down

0 comments on commit c6a7849

Please sign in to comment.