I have some components in a file and I can’t delete or rename them. Also when I click “Go to main component in library” it takes me to an old file and asks me if I want to restore the component. Even though I restore the component I still cannot delete the component from the first file.
Hi @Ricardo_Patta1 ,
Can you share your file or attach a screenshot?
Perhaps your component instance is locked?
I’m not able to delete this component and when I click “Go to main component” it takes me to another file and asks me to restore the compnent because it doesn’t exist anymore. But this action doesn’t allow me to delet the component from the first file. It is like a ghost component stucked in my file.
Ahh ok, now I understand. You need publish the file from where the components was deleted to remove it from the assets:
And when I don’t have access to the file anymore?
If you can’t get permission to access the file, you can perhaps just disable the library so it does not show up in your assets?
I also have this problem. A (button) component that was deleted from a library remains in the assets panel. Doing a search using a plugin (Instance Finder) finds zero results. Pulling the component out of the assets panels and selecting ‘go to main component’ takes you to the page where it used to be but it’s no longer there.
Even turning the library off in other files doesn’t remove it.
+1 Louis… not sure how I managed this, but here’s a video:
It seems like if you don’t have the source file open, it does what I posted above. If you do, it just takes you to the page of that file that’s currently open, and does nothing.
Ultimately… if this component was removed from the library… why is it even in the Assets panel at all??
I feel your pain. I dealt with this same problem for a couple of months until today.
I found a ‘hacky’ way to get rid of those ghost files.
- Drag the component you want to delete into your art board
- Right click on it and select ‘Go to main component’
- Right click on the component group you just restored and select ‘Flatten’
- Delete both the flattened image(s) + the initial component you dragged into your art board
It should remove it from your assets.
Give it a go and let me know if it works with you as well
Hi Armando! Just wanted to let you know that your hack saved me! I struggled so long with this problem! Thank you so much!
@Armando_Breton … Point # 3 - 1. “Right click on the component group you just restored and select ‘Flatten’”
There is actually no component group in that file that is left to flatten. Can you clarify this, thanks
I’m talking about the component itself (the one you just dragged from your assets library into your art board).
If you need urgent help, I’m happy to jump in a call and clarify. My email is firstname.lastname@example.org
P.S. I’m glad I could help @Kristina_Goryacheva
Hey, @Armando_Breton figured it out. Thanks a bunchhh!!
I have the same problem as you.
I went to “Go to main component”, but in the file I saw nothing… I cannot “Restore the component”.