mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-11-08 02:36:01 +08:00
fix: Fix execution refresh issues for cronjob (#9728)
This commit is contained in:
parent
70df4dc6c4
commit
bf9a9bf17a
1 changed files with 7 additions and 0 deletions
|
|
@ -348,6 +348,13 @@ const search = async (changeToLatest: boolean) => {
|
|||
}
|
||||
if (changeToLatest) {
|
||||
currentRecord.value = records.value[0];
|
||||
return;
|
||||
}
|
||||
for (const item of records.value) {
|
||||
if (item.id === currentRecord.value.id) {
|
||||
currentRecord.value = item;
|
||||
break;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue