@Query(filter: #Predicate<Note>{ note in
note.isDeleted == false && (note.title != "" || note.content != "")
} ,sort: [SortDescriptor(\Note.isPinned, order: .reverse),SortDescriptor(\Note.createdAt, order: .reverse)]
, animation: .smooth(duration: 0.3)
) private var notes: [Note]
if I delete filter part navigationLink works properly