Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit bf9a9bf

Browse files
fix: Fix execution refresh issues for cronjob (1Panel-dev#9728)
1 parent 70df4dc commit bf9a9bf

File tree

1 file changed

+7
-0
lines changed
  • frontend/src/views/cronjob/cronjob/record

1 file changed

+7
-0
lines changed

‎frontend/src/views/cronjob/cronjob/record/index.vue

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -348,6 +348,13 @@ const search = async (changeToLatest: boolean) => {
348348
}
349349
if (changeToLatest) {
350350
currentRecord.value = records.value[0];
351+
return;
352+
}
353+
for (const item of records.value) {
354+
if (item.id === currentRecord.value.id) {
355+
currentRecord.value = item;
356+
break;
357+
}
351358
}
352359
};
353360

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /