mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-04 04:04:36 +08:00
Fix addons display in info modal [SCI-1875]
This commit is contained in:
parent
b4b6fddca3
commit
91468faaf9
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ module ClientApi
|
|||
def list_all_addons
|
||||
Rails::Engine.subclasses
|
||||
.select { |c| c.name.start_with?('Scinote') }
|
||||
.map(&:parent)
|
||||
.map { |c| c.parent.to_s }
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue