Skip to content

Commit

Permalink
Add disabled state to translations interface (#10338)
Browse files Browse the repository at this point in the history
Fixes #10337
  • Loading branch information
rijkvanzanten committed Dec 6, 2021
1 parent 23e0b8b commit 8881011
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions app/src/interfaces/translations/translations.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
</template>
</language-select>
<v-form
:disabled="disabled"
:loading="valuesLoading"
:fields="fields"
:model-value="firstItem"
Expand All @@ -35,6 +36,7 @@
</template>
</language-select>
<v-form
:disabled="disabled"
:loading="valuesLoading"
:initial-values="secondItemInitial"
:fields="fields"
Expand Down Expand Up @@ -87,6 +89,10 @@ export default defineComponent({
type: Boolean,
default: false,
},
disabled: {
type: Boolean,
default: false,
},
},
emits: ['input'],
setup(props, { emit }) {
Expand Down

0 comments on commit 8881011

Please sign in to comment.