mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
add confirm dialog message
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
parent
6d067b68e2
commit
e7df294b6e
@ -302,6 +302,7 @@ export async function attemptInstallByInfo({ name, version, requireConfirmation
|
|||||||
|
|
||||||
if (requireConfirmation) {
|
if (requireConfirmation) {
|
||||||
const proceed = await ConfirmDialog.confirm({
|
const proceed = await ConfirmDialog.confirm({
|
||||||
|
message: <p>Are you sure you want to install <b>{name}@{version}</b>?</p>,
|
||||||
labelCancel: "Cancel",
|
labelCancel: "Cancel",
|
||||||
labelOk: "Install",
|
labelOk: "Install",
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user