From a8f9ca28f913af34258cf24df708ebe4da6bb13a Mon Sep 17 00:00:00 2001 From: Blaine Landowski Date: Tue, 16 Jul 2024 11:42:53 -0500 Subject: [PATCH] fix(VTimePicker): Don't Show buttons if ampmInTitle is not true --- 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 && (