From 69442e2ac0a005a03da319f7cdb5529b3a98ca1a Mon Sep 17 00:00:00 2001 From: Victor Torres Date: Sat, 16 Feb 2019 19:33:31 -0200 Subject: [PATCH] Display container name in its removal confirmation message This could avoid removing a container by accident when you misclick some of them --- src/components/ContainerListItem.react.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/ContainerListItem.react.js b/src/components/ContainerListItem.react.js index c57f70311..4aefc166e 100644 --- a/src/components/ContainerListItem.react.js +++ b/src/components/ContainerListItem.react.js @@ -18,7 +18,7 @@ var ContainerListItem = React.createClass({ e.preventDefault(); e.stopPropagation(); dialog.showMessageBox({ - message: 'Are you sure you want to stop & remove this container?', + message: `Are you sure you want to stop & remove the container '${this.props.container.Name}'?`, buttons: ['Remove', 'Cancel'] }, function (index) { if (index === 0) {