mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-23 21:45:01 +08:00
Merge pull request #8431 from aignatov-bio/ai-sci-11821-add-form-button-to-sidebar
Add form button to sidebar [SCI-11821]
This commit is contained in:
commit
8941d3eaaf
1 changed files with 6 additions and 8 deletions
|
@ -32,14 +32,12 @@ module LeftMenuBarHelper
|
|||
active: storage_locations_are_selected?
|
||||
})
|
||||
|
||||
if Form.forms_enabled?
|
||||
menu.push({
|
||||
url: forms_path,
|
||||
name: t('left_menu_bar.forms'),
|
||||
icon: 'sn-icon-forms',
|
||||
active: forms_are_selected?
|
||||
})
|
||||
end
|
||||
menu.push({
|
||||
url: forms_path,
|
||||
name: t('left_menu_bar.forms'),
|
||||
icon: 'sn-icon-forms',
|
||||
active: forms_are_selected?
|
||||
})
|
||||
|
||||
menu.push({
|
||||
url: protocols_path,
|
||||
|
|
Loading…
Add table
Reference in a new issue