diff --git a/src/components/DurationInput.vue b/src/components/DurationInput.vue index e644df3..f8a3972 100644 --- a/src/components/DurationInput.vue +++ b/src/components/DurationInput.vue @@ -365,7 +365,7 @@ function calculateTotalSeconds() { } /** Initializes the duration display based on min/max boundaries and preset value. */ -async function createData() { +function createData() { const size = props.size; if (maxTotal.value !== null && minTotal.value !== null) { diff --git a/src/views/Compare/MapCompare.vue b/src/views/Compare/MapCompare.vue index 048570e..62300e2 100644 --- a/src/views/Compare/MapCompare.vue +++ b/src/views/Compare/MapCompare.vue @@ -325,7 +325,7 @@ watch(sidebarState, (newValue) => { * Switches the map type and re-renders the Cytoscape graph. * @param {string} type - 'processMap' or 'bpmn'. */ -async function switchMapType(type) { +function switchMapType(type) { mapType.value = type; createCy(type); } @@ -334,7 +334,7 @@ async function switchMapType(type) { * Switches the edge curve style and re-renders the graph. * @param {string} style - The curve style. */ -async function switchCurveStyles(style) { +function switchCurveStyles(style) { curveStyle.value = style; createCy(mapType.value); } @@ -343,7 +343,7 @@ async function switchCurveStyles(style) { * Switches the layout direction and re-renders the graph. * @param {string} rankValue - 'LR' (horizontal) or 'TB' (vertical). */ -async function switchRank(rankValue) { +function switchRank(rankValue) { rank.value = rankValue; createCy(mapType.value); } @@ -353,7 +353,7 @@ async function switchRank(rankValue) { * @param {string} type - 'freq' or 'duration'. * @param {string} option - The data option (e.g., 'total', 'average'). */ -async function switchDataLayerType(type, option) { +function switchDataLayerType(type, option) { dataLayerType.value = type; dataLayerOption.value = option; createCy(mapType.value); diff --git a/src/views/Discover/Map/MapPage.vue b/src/views/Discover/Map/MapPage.vue index b804149..22d434e 100644 --- a/src/views/Discover/Map/MapPage.vue +++ b/src/views/Discover/Map/MapPage.vue @@ -321,7 +321,7 @@ watch(sidebarState, (newValue) => { * Switches the map type and re-renders the Cytoscape graph. * @param {string} type - 'processMap' or 'bpmn'. */ -async function switchMapType(type) { +function switchMapType(type) { mapType.value = type; createCy(type); } @@ -330,7 +330,7 @@ async function switchMapType(type) { * Switches the edge curve style and re-renders the graph. * @param {string} style - The curve style ('unbundled-bezier' or 'taxi'). */ -async function switchCurveStyles(style) { +function switchCurveStyles(style) { curveStyle.value = style; createCy(mapType.value); } @@ -339,7 +339,7 @@ async function switchCurveStyles(style) { * Switches the layout direction and re-renders the graph. * @param {string} rankValue - 'LR' (horizontal) or 'TB' (vertical). */ -async function switchRank(rankValue) { +function switchRank(rankValue) { rank.value = rankValue; createCy(mapType.value); } @@ -349,7 +349,7 @@ async function switchRank(rankValue) { * @param {string} type - 'freq' or 'duration'. * @param {string} option - The data option (e.g., 'total', 'average'). */ -async function switchDataLayerType(type, option) { +function switchDataLayerType(type, option) { dataLayerType.value = type; dataLayerOption.value = option; createCy(mapType.value);