Skip to content

feat(calendar-view):Mobile-first supports the hidden time in schedule mode. #3408

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

Merged
merged 1 commit into from
May 9, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/vue/src/calendar-view/src/mobile-first.vue
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@
class="py-1.5 h-auto border border-color-border-separator rounded mb-2 shadow-sm"
>
<div class="px-1.5 mb-1.5 border-l-2 border-color-brand break-all">{{ event.title }}</div>
<div class="mb-1.5 px-2 text-color-text-placeholder">
<div v-if="showTipTime" class="mb-1.5 px-2 text-color-text-placeholder">

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The introduction of the v-if="showTipTime" condition is a functional change that allows for the conditional display of event times. Ensure that showTipTime is correctly managed in the component's data or computed properties to avoid any runtime errors.

{{ getEventShowTime('start', event, date.value) }} - {{ getEventShowTime('end', event, date.value) }}
</div>
<p class="px-2 text-xs text-color-icon-primary line-clamp-2">{{ event.content || '' }}</p>
Expand Down
Loading