owen2345 / camaleon-cms

Camaleon CMS is a dynamic and advanced content management system based on Ruby on Rails
https://camaleon.website
MIT License
1.21k stars 285 forks source link

Menu selection not working #1053

Closed brian-kephart closed 9 months ago

brian-kephart commented 1 year ago

/admin/appearances/nav_menus

When multiple menus are present, selecting one in the dropdown should allow editing that menu. Instead, selecting a different menu does not load that menu for editing. As far as I can tell, the form should be submitted when a menu is selected, but no submission happens.

@texpert could this have something to do with the recent frontend changes?

brian-kephart commented 1 year ago

Loading the page with a query allows editing the menu as expected, like /admin/appearances/nav_menus?id=99.

texpert commented 1 year ago

@brian-kephart, I have no menus in my app except the Main Menu, which is editable, so I'll have to create a feature test for this, whic will be a good thing anyway.