fix(server backup settings): number input -> dropdown (#3099)

* feat(backup settings): number input -> dropdown

* fix(servers teleport dropdown): round last element

* fix index
This commit is contained in:
he3als
2024-12-29 02:19:24 +00:00
committed by GitHub
parent 0437503b75
commit 8b7547ae38
2 changed files with 31 additions and 62 deletions

View File

@@ -72,6 +72,8 @@
:class="{
'bg-brand font-bold text-brand-inverted': selectedValue === item.option,
'bg-bg-raised': focusedOptionIndex === item.index,
'rounded-b-xl': item.index === props.options.length - 1 && !isRenderingUp,
'rounded-t-xl': item.index === 0 && isRenderingUp,
}"
:aria-selected="selectedValue === item.option"
@click="selectOption(item.option, item.index)"