diff --git a/components/publish/PublishErrMessage.vue b/components/publish/PublishErrMessage.vue new file mode 100644 index 00000000..e9ec814d --- /dev/null +++ b/components/publish/PublishErrMessage.vue @@ -0,0 +1,23 @@ + + + diff --git a/components/publish/PublishWidget.vue b/components/publish/PublishWidget.vue index b29d1568..6be8c5b9 100644 --- a/components/publish/PublishWidget.vue +++ b/components/publish/PublishWidget.vue @@ -34,7 +34,7 @@ const { dropZoneRef, } = $(useUploadMediaAttachment($$(draft))) -let { shouldExpanded, isExpanded, isSending, isPublishDisabled, publishDraft } = $(usePublish( +let { shouldExpanded, isExpanded, isSending, isPublishDisabled, publishDraft, failedMessages } = $(usePublish( { draftState, ...$$({ expanded, isUploading, initialDraft: initial }), @@ -160,6 +160,29 @@ defineExpose({ > + + +
+ + + + + +
    +
  1. + {{ i + 1 }}. + {{ error }} +
  2. +
+ +
{{ $t('state.uploading') }}
-
@@ -191,10 +208,8 @@ defineExpose({
@@ -209,7 +224,7 @@ defineExpose({ {{ error[0] }} -
+
- + + + + +