From 7fb7a8a05b4ecf442e37f136b3263a8b6154b9b3 Mon Sep 17 00:00:00 2001 From: Tobias Klika Date: Wed, 15 Dec 2021 21:22:00 +0100 Subject: [PATCH] fix --- zero.Backoffice.UI/app/components/ui-add-button.vue | 6 +++++- zero.Backoffice.UI/app/modules/countries/countries.vue | 2 +- zero.Backoffice.UI/app/modules/countries/country.vue | 2 +- zero.Demo/Program.cs | 5 +++-- 4 files changed, 10 insertions(+), 5 deletions(-) diff --git a/zero.Backoffice.UI/app/components/ui-add-button.vue b/zero.Backoffice.UI/app/components/ui-add-button.vue index 3a21666d..b384bf7c 100644 --- a/zero.Backoffice.UI/app/components/ui-add-button.vue +++ b/zero.Backoffice.UI/app/components/ui-add-button.vue @@ -118,6 +118,10 @@ }); } + if (flavors.length > 0) + { + this.selectedflavor = flavors[0].alias; + } this.flavors = flavors; }, @@ -153,7 +157,7 @@ }) -