diff --git a/src/views/dashboard/configuration/graph-styles/TopologyItem.vue b/src/views/dashboard/configuration/graph-styles/TopologyItem.vue index fa0305d2..9764b90b 100644 --- a/src/views/dashboard/configuration/graph-styles/TopologyItem.vue +++ b/src/views/dashboard/configuration/graph-styles/TopologyItem.vue @@ -69,7 +69,8 @@ limitations under the License. -->
{{ t("defaultDepth") }} (false); const height = ref(document.body.clientHeight - 150); const width = ref(document.body.clientWidth - 40); const showSettings = ref(false); -const depth = ref("2"); const settings = ref({}); const operationsPos = reactive<{ x: number; y: number }>({ x: NaN, y: NaN }); +const depth = ref(topologyStore.defaultDepth); const items = [ { id: "inspect", title: "Inspect", func: inspect }, { id: "dashboard", title: "View Dashboard", func: goDashboard },