Skip to content

Commit

Permalink
pkp/pkp-lib#7505 Review Changes
Browse files Browse the repository at this point in the history
  • Loading branch information
defstat committed Dec 7, 2023
1 parent 7bf5f4a commit cc2cb54
Showing 1 changed file with 5 additions and 25 deletions.
30 changes: 5 additions & 25 deletions src/components/ListPanel/jats/SubmissionJatsListPanel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
:files="newJatsFiles"
:options="options"
:queryParams="{fileStage}"
:uploadProgressLabel="uploadProgressLabel"
upload-progress-label="Uploading {$percent}% complete"
@updated:files="setJatsFile"
/>
</slot>
Expand Down Expand Up @@ -107,10 +107,6 @@ export default {
type: Object,
required: true,
},
uploadProgressLabel: {
type: String,
required: true,
},
fileStage: {
type: Number,
required: true,
Expand All @@ -122,22 +118,6 @@ export default {
return [];
},
},
i18nConfirmDeleteFileTitle: {
type: String,
required: true,
},
i18nDeleteFileMessage: {
type: String,
required: true,
},
i18nConfirmDeleteFileButton: {
type: String,
required: true,
},
i18nLastModifiedAt: {
type: String,
required: true,
},
downloadDefaultJatsFileName: {
type: String,
required: false,
Expand Down Expand Up @@ -178,7 +158,7 @@ export default {
var actual = '';
if (!this.isDefaultContent) {
actual = this.i18nLastModifiedAt.replace(
actual = this.t('publication.jats.lastModified').replace(
'{$modificationDate}',
this.workingJatsProps.updatedAt,
);
Expand Down Expand Up @@ -236,11 +216,11 @@ export default {
openDeleteModal() {
this.openDialog({
name: 'delete',
title: this.i18nConfirmDeleteFileTitle,
message: this.i18nDeleteFileMessage,
title: this.t('publication.jats.confirmDeleteFileTitle'),
message: this.t('publication.jats.confirmDeleteFileMessage'),
actions: [
{
label: this.i18nConfirmDeleteFileButton,
label: this.t('publication.jats.confirmDeleteFileButton'),
isWarnable: true,
callback: (close) => {
this.isLoading = true;
Expand Down

0 comments on commit cc2cb54

Please sign in to comment.