mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-12-09 13:46:21 +08:00
Fix docx report generator for links in activity [SCI-7598] (#4720)
This commit is contained in:
parent
fcc3a9b5d9
commit
41892e35c6
1 changed files with 2 additions and 0 deletions
|
|
@ -3,6 +3,8 @@
|
|||
module Reports
|
||||
class Utils
|
||||
def self.link_prepare(scinote_url, link)
|
||||
return link if scinote_url.blank?
|
||||
|
||||
link[0] == '/' ? scinote_url + link : link
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue