Add warning for editing statuses
This commit is contained in:
parent
3ee5c2387d
commit
b1d89e47de
2 changed files with 11 additions and 0 deletions
|
@ -258,6 +258,9 @@ const PostStatusForm = {
|
|||
uploadFileLimitReached () {
|
||||
return this.newStatus.files.length >= this.fileLimit
|
||||
},
|
||||
isEdit () {
|
||||
return typeof this.statusId !== 'undefined' && this.statusId.trim() !== ''
|
||||
},
|
||||
...mapGetters(['mergedConfig']),
|
||||
...mapState({
|
||||
mobileLayout: state => state.interface.mobileLayout
|
||||
|
|
|
@ -66,6 +66,14 @@
|
|||
<span v-if="safeDMEnabled">{{ $t('post_status.direct_warning_to_first_only') }}</span>
|
||||
<span v-else>{{ $t('post_status.direct_warning_to_all') }}</span>
|
||||
</p>
|
||||
<p
|
||||
v-if="isEdit"
|
||||
class="visibility-notice"
|
||||
>
|
||||
<span>{{ $t('post_status.edit_remote_warning') }}</span>
|
||||
<br>
|
||||
<span>{{ $t('post_status.edit_unsupported_warning') }}</span>
|
||||
</p>
|
||||
<div
|
||||
v-if="!disablePreview"
|
||||
class="preview-heading faint"
|
||||
|
|
Loading…
Reference in a new issue