-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(ktabs): minor fix #2513
fix(ktabs): minor fix #2513
Conversation
✅ Deploy Preview for kongponents-sandbox ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for kongponents ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! 🚀
## [9.14.10](v9.14.9...v9.14.10) (2024-11-12) ### Bug Fixes * **ktabs:** minor fix ([#2513](#2513)) ([38ecf93](38ecf93))
🎉 This PR is included in version 9.14.10 🎉 The release is available on: Your semantic-release bot 📦🚀 |
@@ -87,7 +87,7 @@ const emit = defineEmits<{ | |||
(e: 'change', val: string): void | |||
}>() | |||
|
|||
const activeTab = ref<string>(props.modelValue ? props.modelValue : props.tabs[0].hash) | |||
const activeTab = ref<string>(props.modelValue ? props.modelValue : props.tabs[0]?.hash) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If there's no tab at index zero, what should the value be...?
Summary