VirtusLab-Open-Source / strapi-plugin-navigation

A plugin for Strapi Headless CMS that provides navigation / menu builder feature with their possibility to control the audience and different output structure renderers like (flat, tree and RFR - ready for handling by Redux First Router)
MIT License
308 stars 57 forks source link

Save button won't work when there is an item with the same path within your navigation #361

Closed nicknijenhuis closed 1 year ago

nicknijenhuis commented 1 year ago

Save button won't work when there is an item with the same path within your menu, in my example I was some levels deep inside the menu, but I think it doesn't matter where you are.

image

Steps to reproduce

  1. Add a menu item with an internal source with some path
  2. Save
  3. Add another menu item with the same path
  4. Save

Expected: The form gives an error or a warning about that you can't use the same path Actual: The form does nothing and no feedback is given

Version: image

CodeVoyager commented 1 year ago

Hi @nicknijenhuis

A PR covering your issue is in review.

cyp3rius commented 1 year ago

Fixed in v2.2.13