From 0c80102ecca9dffb337b974064f3e583c5467e63 Mon Sep 17 00:00:00 2001 From: Blaine Landowski <42892508+blalan05@users.noreply.github.com> Date: Tue, 16 Jul 2024 13:41:57 -0500 Subject: [PATCH] fix(VTimePicker): don't show buttons if ampmInTitle is not true (#20178) --- packages/vuetify/src/labs/VTimePicker/VTimePickerControls.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/vuetify/src/labs/VTimePicker/VTimePickerControls.tsx b/packages/vuetify/src/labs/VTimePicker/VTimePickerControls.tsx index f8ab7fd5983..ba65c355ade 100644 --- a/packages/vuetify/src/labs/VTimePicker/VTimePickerControls.tsx +++ b/packages/vuetify/src/labs/VTimePicker/VTimePickerControls.tsx @@ -17,6 +17,7 @@ type Period = 'am' | 'pm' export const makeVTimePickerControlsProps = propsFactory({ ampm: Boolean, + ampmInTitle: Boolean, ampmReadonly: Boolean, color: String, disabled: Boolean, @@ -122,7 +123,7 @@ export const VTimePickerControls = genericComponent()({ } { - props.ampm && ( + props.ampm && props.ampmInTitle && (