• Denys Mishunov's avatar
    Hid copy contents button on render error · bec2e793
    Denys Mishunov authored
    When a blob returns a render error, we do not have the blob's content,
    hence there's nothing to copy. That's why we hide the button in these
    cases. However, if, for example, user forces loading the content (in
    case of a collapsed blob), we do render the button again.
    bec2e793
snippet_blob_view_spec.js 5.74 KB