mirror of
https://github.com/HeyPuter/puter
synced 2024-11-15 06:15:47 +00: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 alert_resp = await UIAlert({
|
||||
message: confirmation,
|
||||
window_options: {
|
||||
parent_uuid: $el_window.attr('data-element_uuid'),
|
||||
disable_parent_window: true,
|
||||
parent_center: true,
|
||||
},
|
||||
buttons:[
|
||||
{
|
||||
label: i18n('yes'),
|
||||
@ -73,7 +78,7 @@ export default {
|
||||
type: 'primary',
|
||||
},
|
||||
{
|
||||
label: i18n('no'),
|
||||
label: i18n('cancel'),
|
||||
value: false,
|
||||
},
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user