When a snippet is created without a filename, the copy path icon returns the json output {"text":"","gfm":"``"}
copy path
{"text":"","gfm":"``"}
When there is no filename for a snippet, the copy path icon should be hidden as there is no path to copy: