From ebd8cb87376e9a5ca868fe7eef5351057f6ef92b Mon Sep 17 00:00:00 2001 From: Pierre GIRAUD Date: Wed, 13 Nov 2024 14:17:18 +0100 Subject: [PATCH] Auto select server if there's only one in login form --- powa/static/js/components/LoginView.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/powa/static/js/components/LoginView.vue b/powa/static/js/components/LoginView.vue index a1c32107..32e4fdba 100644 --- a/powa/static/js/components/LoginView.vue +++ b/powa/static/js/components/LoginView.vue @@ -18,6 +18,7 @@ label="Server" :items="servers" :rules="[rules.required]" + :model-value="servers.length == 1 ? servers[0] : undefined" >