forked from p34709852/monkey
Bugfix: PreviewPane.js log download button no longer enabled when no log is present
This commit is contained in:
parent
0be1b3a908
commit
bd537faa11
|
@ -126,8 +126,8 @@ class PreviewPaneComponent extends AuthComponent {
|
|||
Download Log
|
||||
</th>
|
||||
<td>
|
||||
<a type="button" className="btn btn-primary"
|
||||
disabled={!asset.has_log}
|
||||
<a type="button"
|
||||
className={asset.has_log ? "btn btn-primary" : "btn btn-primary disabled"}
|
||||
onClick={() => this.downloadLog(asset)}>Download</a>
|
||||
</td>
|
||||
</tr>
|
||||
|
|
Loading…
Reference in New Issue