Skip to content

Commit

Permalink
fix(ui): prompt secure in node action
Browse files Browse the repository at this point in the history
  • Loading branch information
robertsLando committed Nov 18, 2020
1 parent 3868358 commit 864dbe3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/components/ControlPanel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -1290,6 +1290,14 @@ export default {
} catch (error) {
return
}
} else if (
this.node_action === 'replaceFailedNode'
) {
var secure = await this.$listeners.showConfirm(
'Node inclusion',
'Start inclusion in secure mode?'
)
args.push(secure)
}

this.apiRequest(action, args)
Expand Down

0 comments on commit 864dbe3

Please sign in to comment.