Skip to content

Commit

Permalink
feat: Remove unused Leva::BaseEval class
Browse files Browse the repository at this point in the history
  • Loading branch information
kieranklaassen committed Aug 21, 2024
1 parent 7931e4e commit 92c3f67
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions app/models/leva/dataset_record.rb
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,9 @@ def display_name
recordable.name
elsif recordable.respond_to?(:title)
recordable.title
elsif recordable.is_a?(TextContent)
"TextContent: #{recordable.text.truncate(30)}"
else
"#{recordable_type} ##{recordable_id}"
end
end
end
end
end

0 comments on commit 92c3f67

Please sign in to comment.