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:
Martin Artnik 2025-04-16 10:31:51 +02:00 committed by GitHub
commit 8941d3eaaf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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,