refactor(settings): rename variable

Renamed the variable 'inputClass' to 'inputType' because this name is
more accurate
This commit is contained in:
2026-07-28 20:08:35 +02:00
committed by jakob.scheid
parent 9cf2245217
commit 1e283c7392
@@ -40,7 +40,7 @@ inputModel.value = store.get(props.path);
const inputId = useId();
const inputLabelId = useId();
const inputClass = computed(() => ({
const inputType = computed(() => ({
number: 'number',
string: 'text'
}[props.setting.type]
@@ -66,7 +66,7 @@ const apply = function apply () {
:class="{ 'done-button-shown': hasChanged }"
>
<input
:type="inputClass"
:type="inputType"
:id="inputId"
:aria-labelledby="inputLabelId"
v-model="inputModel"