mirror of
https://github.com/misskey-dev/misskey
synced 2024-12-18 16:48:34 +09:00
Add dialog to remove follower (#9718)
This commit is contained in:
parent
320e5dba83
commit
e211d4e0cb
@ -805,6 +805,7 @@ lastCommunication: "Last communication"
|
|||||||
resolved: "Resolved"
|
resolved: "Resolved"
|
||||||
unresolved: "Unresolved"
|
unresolved: "Unresolved"
|
||||||
breakFollow: "Remove follower"
|
breakFollow: "Remove follower"
|
||||||
|
breakFollowConfirm: "Are you sure want to remove follower?"
|
||||||
itsOn: "Enabled"
|
itsOn: "Enabled"
|
||||||
itsOff: "Disabled"
|
itsOff: "Disabled"
|
||||||
emailRequiredForSignup: "Require email address for sign-up"
|
emailRequiredForSignup: "Require email address for sign-up"
|
||||||
|
@ -812,6 +812,7 @@ lastCommunication: "直近の通信"
|
|||||||
resolved: "解決済み"
|
resolved: "解決済み"
|
||||||
unresolved: "未解決"
|
unresolved: "未解決"
|
||||||
breakFollow: "フォロワーを解除"
|
breakFollow: "フォロワーを解除"
|
||||||
|
breakFollowConfirm: "フォロワー解除しますか?"
|
||||||
itsOn: "オンになっています"
|
itsOn: "オンになっています"
|
||||||
itsOff: "オフになっています"
|
itsOff: "オフになっています"
|
||||||
emailRequiredForSignup: "アカウント登録にメールアドレスを必須にする"
|
emailRequiredForSignup: "アカウント登録にメールアドレスを必須にする"
|
||||||
|
@ -102,6 +102,8 @@ export function getUserMenu(user, router: Router = mainRouter) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async function invalidateFollow() {
|
async function invalidateFollow() {
|
||||||
|
if (!await getConfirmed(i18n.ts.breakFollowConfirm)) return;
|
||||||
|
|
||||||
os.apiWithDialog('following/invalidate', {
|
os.apiWithDialog('following/invalidate', {
|
||||||
userId: user.id,
|
userId: user.id,
|
||||||
}).then(() => {
|
}).then(() => {
|
||||||
|
Loading…
Reference in New Issue
Block a user