fix report drag and drop reordering (#6763)

* fix report drag and drop

* note
This commit is contained in:
Matt Fiddaman
2026-01-23 19:37:17 +00:00
committed by GitHub
parent 331aafda30
commit f55a42d817
2 changed files with 8 additions and 2 deletions

View File

@@ -104,12 +104,12 @@ export function ReportCard({
</View>
);
if (to) {
if (to && !isEditing && !disableClick) {
return (
<Layout {...layoutProps}>
<Button
variant="bare"
onPress={isEditing || disableClick ? undefined : () => navigate(to)}
onPress={() => navigate(to)}
style={{
height: '100%',
width: '100%',