Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle the case where resource label is blank #1784

Merged
merged 1 commit into from
Nov 20, 2023
Merged

Conversation

jcoyne
Copy link
Contributor

@jcoyne jcoyne commented Nov 18, 2023

Display the filename when there is a blank resource label.

Ref https://github.com/sul-dlss/sul-embed/pull/1769\#issuecomment-1817311430

end

context 'without a blank label' do
let(:resource_file) { described_class.new(label: '', filename: 'llama.mp3') }
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚡ 🦙

@jmartin-sul jmartin-sul merged commit f476fde into main Nov 20, 2023
1 check passed
@jmartin-sul jmartin-sul deleted the handle-blank-label branch November 20, 2023 16:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants