Skip to content

Commit

Permalink
fix: use getLoading() instead of loading
Browse files Browse the repository at this point in the history
  • Loading branch information
adrians5j committed May 17, 2020
1 parent 6480984 commit 1b09988
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const plugin: CmsContentDetailsRevisionContentPlugin = {
type: "cms-content-details-revision-content",
render(props) {
return (
<Tab label={"Revisions"} disabled={props.loading}>
<Tab label={"Revisions"} disabled={props.getLoading()}>
<RevisionsList {...props} />
</Tab>
);
Expand Down

0 comments on commit 1b09988

Please sign in to comment.