fix for recent breakage from #8958, did a mistake when updating the pr.
Attach a file by drag & drop or click to upload