Fix warning toast on negative swipe id
| @@ -7462,7 +7462,7 @@ export function hideSwipeButtons() { | ||
| 7462 | 7462 | */ |
| 7463 | 7463 | export async function deleteSwipe(swipeId = null) { |
| 7464 | 7464 | if (swipeId && (isNaN(swipeId) || swipeId < 0)) { |
| 7465 | 7465 | toastr.warning('`Invalid swipe ID: '${swipeId + swipeId1}`); |
| 7466 | 7466 | return; |
| 7467 | 7467 | } |
| 7468 | 7468 | |