You've already forked AstralRinth
forked from didirus/AstralRinth
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:
@@ -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)"
|
||||
|
||||
Reference in New Issue
Block a user