alleyinteractive / meta-inspector

See your post, term, and user meta data.
GNU General Public License v2.0
16 stars 3 forks source link

Do not show copy toggle if meta field is empty #19

Closed renatonascalves closed 10 months ago

renatonascalves commented 1 year ago

Description of the bug

Relate to #17

If the meta field is empty, the copy functionality is available, even though nothing happens if you click on it.

Steps To Reproduce

https://github.com/alleyinteractive/meta-inspector/assets/19148962/ca3d7dd6-fa14-4b59-97f6-e7e4ec46cffd

Additional Information

After copying the "value". You get nothing. Not even a null value. It's like it didn't copy something.