mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-11-11 17:00:41 +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
|
def list_all_addons
|
||||||
Rails::Engine.subclasses
|
Rails::Engine.subclasses
|
||||||
.select { |c| c.name.start_with?('Scinote') }
|
.select { |c| c.name.start_with?('Scinote') }
|
||||||
.map(&:parent)
|
.map { |c| c.parent.to_s }
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue