Skip to content

Commit f4412cb

Browse files
committed
Guard against 'never' string in 'last indexed date' in footer
1 parent 6c3dcb3 commit f4412cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/views/shared/_footer.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
and the
3737
<a href="https://www.lib.umich.edu/library-administration/library-copyright-statement">U-M Library Copyright
3838
Policy</a>.
39-
Data last refreshed <%= if Dromedary::Services[:looks_like_first_upload]
39+
Data last refreshed <%= if Dromedary::Services[:looks_like_first_upload] or Dromedary.collection_creation_date_string =~ /never/i
4040
"never"
4141
else
4242
Dromedary.collection_creation_date_string

0 commit comments

Comments
 (0)