Skip to content

Commit ca55d95

Browse files
Don't sort on actions if empty. (#233)
Co-authored-by: Brandon Williams <[email protected]>
1 parent 9d9c200 commit ca55d95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SQLiteData/CloudKit/Internal/Logging.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
ColumnID("recordType", String.self),
4444
ColumnID("recordName", String.self)
4545
)
46-
} else {
46+
} else if !actions.isEmpty {
4747
dataFrame.sort(on: ColumnID("action", String.self))
4848
}
4949
var formattingOptions = FormattingOptions(

0 commit comments

Comments
 (0)