mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-25 04:34:06 -08:00
fix(editor): Fix workflow history prune time limit (getting hours instead of days) (#7644)
This commit is contained in:
parent
48c068f97b
commit
3d5a485bcf
|
@ -70,6 +70,7 @@ const actions = computed<UserAction[]>(() =>
|
|||
const isFirstItemShown = computed(
|
||||
() => workflowHistory.value[0]?.versionId === route.params.versionId,
|
||||
);
|
||||
const evaluatedPruneTime = computed(() => Math.floor(workflowHistoryStore.evaluatedPruneTime / 24));
|
||||
|
||||
const loadMore = async (queryParams: WorkflowHistoryRequestParams) => {
|
||||
const history = await workflowHistoryStore.getWorkflowHistory(
|
||||
|
@ -318,7 +319,7 @@ watchEffect(async () => {
|
|||
:actions="actions"
|
||||
:requestNumberOfItems="requestNumberOfItems"
|
||||
:shouldUpgrade="workflowHistoryStore.shouldUpgrade"
|
||||
:evaluatedPruneTime="workflowHistoryStore.evaluatedPruneTime"
|
||||
:evaluatedPruneTime="evaluatedPruneTime"
|
||||
:isListLoading="isListLoading"
|
||||
@action="onAction"
|
||||
@preview="onPreview"
|
||||
|
|
Loading…
Reference in a new issue