fix(xo-web/remotes): error appears twice on testing (#3399)

This commit is contained in:
badrAZ 2018-09-11 17:27:10 +02:00 committed by Julien Fontanet
parent d8bd30e355
commit f8fdd888c4
2 changed files with 4 additions and 2 deletions

View File

@ -10,6 +10,7 @@
### Bug fixes
- [Remotes] Rename connect(ed)/disconnect(ed) to enable(d)/disable(d) [#3323](https://github.com/vatesfr/xen-orchestra/issues/3323) (PR [#3396](https://github.com/vatesfr/xen-orchestra/pull/3396))
- [Remotes] Fix error appears twice on testing (PR [#3399](https://github.com/vatesfr/xen-orchestra/pull/3399))
### Released packages

View File

@ -5,7 +5,7 @@ import React from 'react'
import SortedTable from 'sorted-table'
import StateButton from 'state-button'
import Tooltip from 'tooltip'
import { addSubscriptions, generateRandomId } from 'utils'
import { addSubscriptions, generateRandomId, noop } from 'utils'
import { alert } from 'modal'
import { format, parse } from 'xo-remote-parser'
import { groupBy, map, isEmpty } from 'lodash'
@ -244,7 +244,8 @@ const INDIVIDUAL_ACTIONS = [
<dd>{answer.step}</dd>
</dl>
</p>
)
),
noop
),
icon: 'diagnosis',
label: _('remoteTestTip'),