Skip to content

Commit 3bd2797

Browse files
fix: incorrect merchant contact condition for session and signal
1 parent 1d99dee commit 3bd2797

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/views/merchants/_contacts.html.slim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
= mail_to value, value
1111
- elsif key == :phone
1212
= phone_to value, value
13-
- elsif key.in? %i[session] || (key == :signal && !contact.starts_with?('http'))
13+
- elsif key.in?(%i[session]) || (key == :signal && !value.starts_with?('http'))
1414
= value
1515
- else
1616
= link_to clean_url(value).truncate(50), value, target: :_blank

0 commit comments

Comments
 (0)