Display no versions message (#933)

This commit is contained in:
Dainius Lukša 2021-10-07 19:24:59 +03:00 committed by GitHub
parent 20d1bd0a31
commit 93911d0538
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -151,6 +151,11 @@ class SaveAndPreview extends React.Component {
</div>
) : (
<div className="table-responsive">
{!versions?.length && !showVersionForm && !isLoading && (
<div>
No versions yet.
</div>
)}
<table className="table table-vcenter">
<tbody>
{versions.map((version) => (