Skip to content

Commit

Permalink
Refactor: Fix errors
Browse files Browse the repository at this point in the history
  • Loading branch information
rarestoma committed Jun 30, 2020
1 parent 573245d commit a0c55a0
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
2 changes: 2 additions & 0 deletions src/components/Inputs/Checkbox.vue
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ export default {
if (this.inline) {
return `form-check-inline`;
}
return ``;
}
},
created() {
Expand Down
5 changes: 2 additions & 3 deletions src/layout/MainNavbar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
:color-on-scroll="colorOnScroll"
menu-classes="ml-auto"
>
<template slot-scope="{ toggle, isToggled }">
<template>
<router-link v-popover:popover1 class="navbar-brand" to="/">
Now Ui Kit
</router-link>
Expand Down Expand Up @@ -121,7 +121,7 @@
</template>

<script>
import { DropDown, NavbarToggleButton, Navbar, NavLink } from '@/components';
import { DropDown, Navbar, NavLink } from '@/components';
import { Popover } from 'element-ui';
export default {
name: 'main-navbar',
Expand All @@ -132,7 +132,6 @@ export default {
components: {
DropDown,
Navbar,
NavbarToggleButton,
NavLink,
[Popover.name]: Popover
}
Expand Down
3 changes: 1 addition & 2 deletions src/pages/components/JavascriptComponents.vue
Original file line number Diff line number Diff line change
Expand Up @@ -172,12 +172,11 @@
</div>
</template>
<script>
import { Card, Button, Modal, FormGroupInput } from '@/components';
import { Button, Modal, FormGroupInput } from '@/components';
import { Popover, Tooltip, DatePicker } from 'element-ui';
export default {
components: {
Card,
Modal,
[Button.name]: Button,
[Popover.name]: Popover,
Expand Down
3 changes: 1 addition & 2 deletions src/pages/components/Typography.vue
Original file line number Diff line number Diff line change
Expand Up @@ -141,11 +141,10 @@
</div>
</template>
<script>
import { Card, Button } from '@/components';
import { Button } from '@/components';
export default {
components: {
Card,
[Button.name]: Button
}
};
Expand Down

0 comments on commit a0c55a0

Please sign in to comment.