Always enable preview button (#3061)

This commit is contained in:
Akshay 2022-05-17 11:10:52 +05:30 committed by GitHub
parent 2db14dd9f5
commit d1422d93a5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1175,9 +1175,7 @@ class Editor extends React.Component {
<a
href={appVersionPreviewLink}
target="_blank"
className={`btn btn-sm font-500 color-primary border-0 ${
app?.current_version_id ? '' : 'disabled'
}`}
className="btn btn-sm font-500 color-primary border-0"
rel="noreferrer"
>
Preview