disable the copy button when no data