From 3c1f24525a19cbde8fa1df87f5f7dcda86d1976c Mon Sep 17 00:00:00 2001 From: John Cowen Date: Wed, 9 Sep 2020 09:12:09 +0100 Subject: [PATCH] ui: [Bugfix] KV creation from within a 'folder' (#8613) * ui: Prefill an newly created KV for the when we are on a create route * ui: Add some KV creation tests --- ui-v2/app/components/consul-kv-form/index.hbs | 2 +- ui-v2/app/routes/dc/kv/edit.js | 12 +++- ui-v2/tests/acceptance/dc/kvs/create.feature | 64 +++++++++++++++---- 3 files changed, 62 insertions(+), 16 deletions(-) diff --git a/ui-v2/app/components/consul-kv-form/index.hbs b/ui-v2/app/components/consul-kv-form/index.hbs index f5fff53910..a0a0670814 100644 --- a/ui-v2/app/components/consul-kv-form/index.hbs +++ b/ui-v2/app/components/consul-kv-form/index.hbs @@ -31,7 +31,7 @@