Fix TypeError: API changed playbook.file to playbook.path

Introduced when we merged https://review.openstack.org/#/c/625961/

Change-Id: If8e95a20b8717e864402be18e861b605039fbafa
This commit is contained in:
David Moreau Simard 2019-01-07 12:43:27 -05:00
parent df050a5b51
commit faf985d81c
No known key found for this signature in database
GPG Key ID: CBEB466764A9E621
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ export default class Playbook extends Component {
<StatusIcon status={playbook.status} />
</div>
<DataListCell className="pf-c-data-list__cell pf-m-flex-5">
{playbook.file.path.split("/").slice(-1)[0]}
{playbook.path.split("/").slice(-1)[0]}
</DataListCell>
<DataListCell
className="pf-c-data-list__cell pf-m-flex-1"