diff options
| author | Tusooa Zhu <tusooa@kazv.moe> | 2022-02-09 16:26:30 -0500 |
|---|---|---|
| committer | tusooa <tusooa@kazv.moe> | 2023-01-20 23:39:08 -0500 |
| commit | 3b7aaae2b366abe1162c22a29918336c4210446f (patch) | |
| tree | 6c71c19b7c6427fcc9c9d641f5e45399f2645bf0 /src/components/account_actions/account_actions.vue | |
| parent | c032b48219ba601df5dabc7fd271444fe7db0321 (diff) | |
Add confirmation for blocking
Diffstat (limited to 'src/components/account_actions/account_actions.vue')
| -rw-r--r-- | src/components/account_actions/account_actions.vue | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/components/account_actions/account_actions.vue b/src/components/account_actions/account_actions.vue index 973a5935..dfe1f706 100644 --- a/src/components/account_actions/account_actions.vue +++ b/src/components/account_actions/account_actions.vue @@ -74,6 +74,24 @@ </button> </template> </Popover> + <confirm-modal + :showing="showingConfirmBlock" + :title="$t('user_card.block_confirm_title')" + :confirm-text="$t('user_card.block_confirm_accept_button')" + :cancel-text="$t('user_card.block_confirm_cancel_button')" + @accepted="doBlockUser" + @cancelled="hideConfirmBlock" + > + <i18n + path="user_card.block_confirm" + tag="span" + > + <span + place="user" + v-text="user.screen_name_ui" + /> + </i18n> + </confirm-modal> </div> </template> |
