From 9f0787197128c24d688bcf03a85efe03a23caad4 Mon Sep 17 00:00:00 2001 From: John Cowen Date: Tue, 15 Dec 2020 16:33:05 +0000 Subject: [PATCH] ui: Use InformedAction for intention confirmation dialogs (#9398) --- .../consul/intention/list/table/index.hbs | 42 ++++++++++++------- 1 file changed, 27 insertions(+), 15 deletions(-) diff --git a/ui/packages/consul-ui/app/components/consul/intention/list/table/index.hbs b/ui/packages/consul-ui/app/components/consul/intention/list/table/index.hbs index 56da9040d8..7935c28ea5 100644 --- a/ui/packages/consul-ui/app/components/consul/intention/list/table/index.hbs +++ b/ui/packages/consul-ui/app/components/consul/intention/list/table/index.hbs @@ -66,24 +66,36 @@ as |item index|>
  • -
    -
    -
    - Confirm Delete -
    + + <:header> + Confirm Delete + + <:body>

    Are you sure you want to delete this intention?

    -
    -
      -
    • - -
    • -
    • - -
    • -
    -
    + + <:actions as |Actions|> + + + Delete + + + + + Cancel + + + +
  • {{else}}