mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
fix brain fart
This commit is contained in:
parent
84884cbc78
commit
4e8dad0435
1 changed files with 0 additions and 4 deletions
|
@ -99,10 +99,6 @@ export default {
|
||||||
options = { ...options, method, body: objectToParams(data, { addLocale: true }) }
|
options = { ...options, method, body: objectToParams(data, { addLocale: true }) }
|
||||||
}
|
}
|
||||||
|
|
||||||
if (['upgrade', 'postinstall', 'reboot', 'shutdown', 'diagnsosis'].some(action => uri.includes(action))) {
|
|
||||||
store.dispatch('END_REQUEST', { request, success: true, wait })
|
|
||||||
return
|
|
||||||
}
|
|
||||||
const response = await fetch('/yunohost/api/' + uri, options)
|
const response = await fetch('/yunohost/api/' + uri, options)
|
||||||
const responseData = await getResponseData(response)
|
const responseData = await getResponseData(response)
|
||||||
store.dispatch('END_REQUEST', { request, success: response.ok, wait })
|
store.dispatch('END_REQUEST', { request, success: response.ok, wait })
|
||||||
|
|
Loading…
Add table
Reference in a new issue