mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 10:31:15 +00:00
fix(editor): Insights FE fixes and improvements (#14398)
Co-authored-by: r00gm <raul00gm@gmail.com>
This commit is contained in:
@@ -380,7 +380,11 @@ const toggleTimeout = () => {
|
||||
|
||||
const updateTimeSavedPerExecution = (value: string) => {
|
||||
const numValue = parseInt(value, 10);
|
||||
workflowSettings.value.timeSavedPerExecution = isNaN(numValue) ? undefined : numValue;
|
||||
workflowSettings.value.timeSavedPerExecution = isNaN(numValue)
|
||||
? undefined
|
||||
: numValue < 0
|
||||
? 0
|
||||
: numValue;
|
||||
};
|
||||
|
||||
onMounted(async () => {
|
||||
@@ -826,6 +830,7 @@ onMounted(async () => {
|
||||
:disabled="readOnlyEnv || !workflowPermissions.update"
|
||||
data-test-id="workflow-settings-time-saved-per-execution"
|
||||
type="number"
|
||||
min="0"
|
||||
@update:model-value="updateTimeSavedPerExecution"
|
||||
/>
|
||||
<span>{{ i18n.baseText('workflowSettings.timeSavedPerExecution.hint') }}</span>
|
||||
|
||||
Reference in New Issue
Block a user