thedevdojo / voyager

Voyager - The Missing Laravel Admin
https://voyager.devdojo.com
MIT License
11.72k stars 2.67k forks source link

Deleting BREAD is not removing the corresponding item from the menu #5778

Open RoudyTarabay opened 11 months ago

RoudyTarabay commented 11 months ago

Laravel version

9.19

PHP version

8.02

Voyager version

1.6

Database

MySQL 8.0.8

Description

Hi everyone,

I am new to voyager. I created a database table and assigned BREAD to it. After deleting the BREAD and the table it still shows up on the side menu. I even tried opening it in Incognito in case it's caching.

The menu_items table deleted the items yet they still show.

Steps to reproduce

Create a table, add BREAD, delete BREAD.

Expected behavior

Sidebar should remove the item.

Screenshots

No response

Additional context

No response

xMr110 commented 10 months ago

the workaround for this is config clear and cache clear sometimes it need optimize