Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion LearningHub.Nhs.WebUI/Scripts/vuesrc/contribute/Content.vue
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,8 @@
v-model.trim="currentPassword"
placeholder="Current password"
@blur="$v.currentPassword.$touch()"
v-bind:class="{ 'input-validation-error': $v.currentPassword.$error}">
v-bind:class="{ 'input-validation-error': $v.currentPassword.$error}"
@keydown.enter="submitPassword">
</div>

<div class="row" v-if="showError">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@
}
}
else {
this.$emit('childfileuploaderror', FileErrorTypeEnum.Custom, 'There was a problem uploading this file to the Learning Hub. The .zip file you tried to upload was empty.');
this.$emit('childfileuploaderror', FileErrorTypeEnum.InvalidType, 'We do not support this file type on the Learning Hub.');
}
}
this.uploading = false;
Expand All @@ -263,7 +263,7 @@
this.$emit('childfileuploaderror', FileErrorTypeEnum.Custom, 'There was a problem uploading this file to the Learning Hub. Please try again and if it still does not upload, contact the support team.');
}
else {
this.$emit('childfileuploaderror', FileErrorTypeEnum.Custom, 'There was a problem uploading this file to the Learning Hub. The .zip file you tried to upload was empty.');
this.$emit('childfileuploaderror', FileErrorTypeEnum.InvalidType, 'We do not support this file type on the Learning Hub.');
}
self.processing = false;
self.uploading = false;
Expand Down
Loading