Skip to content

Commit

Permalink
fix(work-723): fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
marcosh-ramos committed Jan 16, 2023
1 parent 4a60f99 commit 0e00192
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 10 deletions.
2 changes: 1 addition & 1 deletion src/components/Accordion/SbAccordion.vue
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export default {
},
},
emits: ['icon-click'],
emits: ['icon-click', 'toggle-open'],
setup(props, { emit }) {
const isOpenLocal = ref(props.isOpen)
const chevronIcon = computed(() =>
Expand Down
2 changes: 1 addition & 1 deletion src/components/AvatarGroup/SbAvatarGroup.vue
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export default {
},
},
emits: ['click'],
emits: ['click', 'toggle-visible-dropdown'],
data() {
return {
Expand Down
2 changes: 1 addition & 1 deletion src/components/AvatarGroup/components/SbMoreAvatars.vue
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export default {
},
},
emits: ['click'],
emits: ['click', 'toggle-avatars-dropdown'],
data() {
return {
Expand Down
5 changes: 4 additions & 1 deletion src/components/Breadcrumbs/BreadcrumbItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,10 @@ export default {
type: String,
default: null,
},
to: [String, Object],
to: {
type: [String, Object],
default: null,
},
replace: Boolean,
},
Expand Down
25 changes: 20 additions & 5 deletions src/components/Breadcrumbs/BreadcrumbLink.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,30 @@ export default {
type: String,
default: null,
},
title: String,
target: String,
title: {
type: String,
default: '',
},
target: {
type: String,
default: '',
},
append: Boolean,
disabled: Boolean,
exact: Boolean,
exactActiveClass: String,
exactActiveClass: {
type: String,
default: '',
},
link: Boolean,
href: String,
to: [String, Object],
href: {
type: String,
default: '',
},
to: {
type: [String, Object],
default: null,
},
replace: Boolean,
},
Expand Down
2 changes: 1 addition & 1 deletion src/components/Datepicker/Datepicker.vue
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
:min-date="minDate"
:max-date="maxDate"
:disabled-past="disabledPast"
@update:modelValue="handleComponentsInput"
@update:model-value="handleComponentsInput"
@input-minutes="handleMinutesInput"
/>

Expand Down

0 comments on commit 0e00192

Please sign in to comment.