Skip to content

Commit

Permalink
Unwrap command Item picker from f7-list-item (#2125)
Browse files Browse the repository at this point in the history
Addresses
#2055 (comment).

Signed-off-by: Florian Hotze <[email protected]>
  • Loading branch information
florian-h05 authored Oct 9, 2023
1 parent e987624 commit bf377d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
"about.miscellaneous.home.disableCardExpansionAnimation": "Disable card expansion animations",
"about.miscellaneous.theme.disablePageTransition": "Disable page transition animations",
"about.miscellaneous.webaudio.enable": "Enable Web Audio sink support",
"about.miscellaneous.commandItem.title": "Listen for UI commands",
"about.miscellaneous.commandItem.title": "Listen for UI commands to ",
"about.miscellaneous.commandItem.selectItem": "Item"
}
5 changes: 1 addition & 4 deletions bundles/org.openhab.ui/web/src/components/theme-switcher.vue
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,7 @@
<span v-t="'about.miscellaneous.webaudio.enable'" />
<f7-toggle :checked="webAudio === 'enabled'" @toggle:change="setWebAudio" />
</f7-list-item>
<f7-list-item>
<span v-t="'about.miscellaneous.commandItem.title'" />
<item-picker title="Item" :multiple="false" :value="commandItem" @input="setCommandItem" />
</f7-list-item>
<item-picker :title="$t('about.miscellaneous.commandItem.title')" :multiple="false" :value="commandItem" @input="setCommandItem" />
</f7-list>
</f7-col>
</f7-row>
Expand Down

0 comments on commit bf377d3

Please sign in to comment.