Skip to content

Commit

Permalink
feature(uiComponents) ergonode#104 Clean code
Browse files Browse the repository at this point in the history
  • Loading branch information
maciejkaczorowski committed Aug 1, 2019
1 parent c046935 commit 819d970
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions components/Inputs/InputBase.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
@keydown="onKeyDown">
<div
ref="inputContent"
:class="inputContentStyle"
:class="inputContentClasses"
@click="onFocusInput">
<slot name="prepend" />
<label
Expand Down Expand Up @@ -124,7 +124,7 @@ export default {
},
];
},
inputContentStyle() {
inputContentClasses() {
return [
'input__content',
{
Expand Down
4 changes: 2 additions & 2 deletions components/Inputs/InputSelectBase.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
@keydown="onKeyDown">
<div
ref="inputContent"
:class="inputContentStyle"
:class="inputContentClasses"
@click="onFocusInput">
<slot name="prepend" />
<label
Expand Down Expand Up @@ -164,7 +164,7 @@ export default {
},
];
},
inputContentStyle() {
inputContentClasses() {
return [
'input__content',
{
Expand Down

0 comments on commit 819d970

Please sign in to comment.