mirror of
https://github.com/elk-zone/elk.git
synced 2024-11-04 16:09:59 +00:00
refactor: change publish button text for replying
This commit is contained in:
parent
675a14db80
commit
9721bbf12b
1 changed files with 3 additions and 1 deletions
|
@ -364,7 +364,9 @@ const isPublishDisabled = computed(() => {
|
|||
aria-describedby="publish-tooltip"
|
||||
@click="publish"
|
||||
>
|
||||
{{ !draft.editingStatus ? $t('action.publish') : $t('action.save_changes') }}
|
||||
<span v-if="draft.editingStatus">{{ $t('action.save_changes') }}</span>
|
||||
<span v-else-if="draft.params.inReplyToId">{{ $t('action.reply') }}</span>
|
||||
<span v-else>{{ $t('action.publish') }}</span>
|
||||
</button>
|
||||
</CommonTooltip>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue