Skip to content

Commit

Permalink
Auto select server if there's only one in login form
Browse files Browse the repository at this point in the history
  • Loading branch information
pgiraud committed Nov 13, 2024
1 parent b30feed commit ebd8cb8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions powa/static/js/components/LoginView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
label="Server"
:items="servers"
:rules="[rules.required]"
:model-value="servers.length == 1 ? servers[0] : undefined"
>
</v-select>
</v-card-text>
Expand Down

0 comments on commit ebd8cb8

Please sign in to comment.