mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
ts: types to ToolPower
This commit is contained in:
parent
06ce2a5bec
commit
8507e35ff2
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ const { t } = useI18n()
|
|||
const modalConfirm = useAutoModal()
|
||||
const { tryToReconnect } = useInfos()
|
||||
|
||||
async function triggerAction(action) {
|
||||
async function triggerAction(action: 'reboot' | 'shutdown') {
|
||||
const confirmed = await modalConfirm(t('confirm_reboot_action_' + action))
|
||||
if (!confirmed) return
|
||||
|
||||
|
|
Loading…
Reference in a new issue