Fix unsafe property access and stale await in DurationInput, ModalAccountInfo, FilesPage
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -823,6 +823,7 @@ function download(type, id, source, name) {
|
||||
* Delete Compare Primary log
|
||||
*/
|
||||
function primaryDragDelete() {
|
||||
if (primaryDragData.value.length === 0) return;
|
||||
compareData.value.unshift(primaryDragData.value[0]);
|
||||
primaryDragData.value = [];
|
||||
}
|
||||
@@ -831,6 +832,7 @@ function primaryDragDelete() {
|
||||
* Delete Compare Secondary log
|
||||
*/
|
||||
function secondaryDragDelete() {
|
||||
if (secondaryDragData.value.length === 0) return;
|
||||
compareData.value.unshift(secondaryDragData.value[0]);
|
||||
secondaryDragData.value = [];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user