We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a694df2 commit 4b8f643Copy full SHA for 4b8f643
1 file changed
src/components/ProcessWorkflow.vue
@@ -77,7 +77,7 @@ function startCompute() {
77
}
78
79
function handleToggleChange(value: number | string) {
80
- const numValue = typeof value === 'string' ? parseInt(value, 10) : value;
+ const numValue = Number(value);
81
const shouldShowOriginal = numValue === 0;
82
if (shouldShowOriginal !== showingOriginal.value) {
83
processStore.togglePreview();
0 commit comments