mirror of
https://github.com/HeyPuter/puter.git
synced 2025-01-24 06:50:22 +08:00
Make the 2fa disable prompt a child of the Settings window
This commit is contained in:
parent
db8e2c3bf2
commit
5409547bba
@ -66,6 +66,11 @@ export default {
|
|||||||
const confirmation = i18n('disable_2fa_confirm');
|
const confirmation = i18n('disable_2fa_confirm');
|
||||||
const alert_resp = await UIAlert({
|
const alert_resp = await UIAlert({
|
||||||
message: confirmation,
|
message: confirmation,
|
||||||
|
window_options: {
|
||||||
|
parent_uuid: $el_window.attr('data-element_uuid'),
|
||||||
|
disable_parent_window: true,
|
||||||
|
parent_center: true,
|
||||||
|
},
|
||||||
buttons:[
|
buttons:[
|
||||||
{
|
{
|
||||||
label: i18n('yes'),
|
label: i18n('yes'),
|
||||||
@ -73,7 +78,7 @@ export default {
|
|||||||
type: 'primary',
|
type: 'primary',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: i18n('no'),
|
label: i18n('cancel'),
|
||||||
value: false,
|
value: false,
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user