fix(xo-web/vm/advanced): remove noop (#5700)
See https://github.com/vatesfr/xen-orchestra/pull/3774/files#r602860699
This commit is contained in:
parent
bb671f0e93
commit
8973c9550c
@ -20,7 +20,7 @@ import { injectState, provideState } from 'reaclette'
|
||||
import { Number, Select as EditableSelect, Size, Text, XoSelect } from 'editable'
|
||||
import { Select, Toggle } from 'form'
|
||||
import { SelectResourceSet, SelectRole, SelectSubject, SelectVgpuType } from 'select-objects'
|
||||
import { addSubscriptions, connectStore, formatSize, getVirtualizationModeLabel, noop, osFamily } from 'utils'
|
||||
import { addSubscriptions, connectStore, formatSize, getVirtualizationModeLabel, osFamily } from 'utils'
|
||||
import { every, filter, find, isEmpty, keyBy, map, times, some, uniq } from 'lodash'
|
||||
import {
|
||||
addAcl,
|
||||
@ -316,7 +316,7 @@ const Acls = decorate([
|
||||
return error(_('addAclsErrorTitle'), _('addAclsErrorMessage'))
|
||||
}
|
||||
|
||||
return Promise.all(map(subjects, subject => addAcl({ subject, object: vm, action }))), noop
|
||||
return Promise.all(map(subjects, subject => addAcl({ subject, object: vm, action })))
|
||||
})
|
||||
.catch(err => err && error(_('addAclsErrorTitle'), err.message || String(err))),
|
||||
removeAcl: (_, { currentTarget: { dataset } }) => (_, { vm: object }) =>
|
||||
|
Loading…
Reference in New Issue
Block a user