Skip to content

Commit

Permalink
fix(Settings): Fix unusable i2p settings (#2076)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kladki authored Dec 7, 2024
1 parent 0b78fa3 commit 9a2efcf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/Settings/Connection.vue
Original file line number Diff line number Diff line change
Expand Up @@ -163,14 +163,14 @@ watch(
<v-col cols="12" md="6" class="py-0">
<v-text-field
v-model="preferenceStore.preferences!.i2p_address"
:disabled="preferenceStore.preferences!.i2p_enabled"
:disabled="!preferenceStore.preferences!.i2p_enabled"
hide-details
:label="t('settings.connection.i2p.address')" />
</v-col>
<v-col cols="12" md="6" class="py-0">
<v-text-field
v-model="preferenceStore.preferences!.i2p_port"
:disabled="preferenceStore.preferences!.i2p_enabled"
:disabled="!preferenceStore.preferences!.i2p_enabled"
:rules="portRule"
type="number"
min="0"
Expand All @@ -181,7 +181,7 @@ watch(
<v-col cols="12" class="py-0">
<v-checkbox
v-model="preferenceStore.preferences!.i2p_mixed_mode"
:disabled="preferenceStore.preferences!.i2p_enabled"
:disabled="!preferenceStore.preferences!.i2p_enabled"
hide-details
:label="t('settings.connection.i2p.mixedMode')" />
</v-col>
Expand Down

0 comments on commit 9a2efcf

Please sign in to comment.