Skip to content

Commit

Permalink
Fixes checking in Vue method
Browse files Browse the repository at this point in the history
Issue: documentacao-e-tarefas/scielo#707

Signed-off-by: Jhon <jhon@lepidus.com.br>
  • Loading branch information
JhonathanLepidus committed Oct 11, 2024
1 parent b4b0e5b commit 5247e9a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions js/DataverseWorkflowPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ var DataverseWorkflowPage = $.extend(true, {}, pkp.controllers.WorkflowPage, {
},

datasetIsPublished: function () {
if (this.datasetIsLoading) {
return true;
if (this.datasetIsLoading || this.dataset == null) {
return false;
}

return this.dataset.versionState === 'RELEASED';
Expand Down
4 changes: 2 additions & 2 deletions version.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
<version>
<application>dataverse</application>
<type>plugins.generic</type>
<release>3.1.1.0</release>
<date>2024-10-10</date>
<release>3.1.2.0</release>
<date>2024-10-11</date>
<lazy-load>1</lazy-load>
<class>DataversePlugin</class>
</version>

0 comments on commit 5247e9a

Please sign in to comment.