fix: share text
This commit is contained in:
@@ -128,7 +128,11 @@ function onChangeSortReverse() {
|
||||
}
|
||||
|
||||
function onShare() {
|
||||
shareLink(`Tout Doux - ${list.value ?? ''}`, '', `${document.location.href.split('?')[0] ?? ''}?lang=${i18n.locale.value}`)
|
||||
shareLink(
|
||||
`Tout Doux - ${list.value ?? ''}`,
|
||||
i18n.t('share_text'),
|
||||
`${document.location.href.split('?')[0] ?? ''}?lang=${i18n.locale.value}`
|
||||
)
|
||||
.then((viaShare) => {
|
||||
if (!viaShare) {
|
||||
alertSuccess(i18n.t("alerts.share_clipboard"));
|
||||
|
||||
Reference in New Issue
Block a user