Skip to content

Commit

Permalink
fix linkfield component using a no more existent config variable
Browse files Browse the repository at this point in the history
  • Loading branch information
syphax-bouazzouni committed Nov 18, 2023
1 parent c4d85f8 commit 3d38c1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/link_field_component.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def initialize(value:, raw: false)


def internal_link?
@value.to_s.include?(URI.parse($REST_URL).hostname) || @value.to_s.include?($UI_HOSTNAME)
@value.to_s.include?(URI.parse($REST_URL).hostname) || @value.to_s.include?($UI_URL)
end

end

0 comments on commit 3d38c1b

Please sign in to comment.