We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4af1a7b commit f232da9Copy full SHA for f232da9
packages/lib/src/components/MazDatePicker.vue
@@ -409,6 +409,10 @@ const internalShortcuts = computed(() => {
409
return false
410
}
411
412
+ if (props.shortcuts && Array.isArray(props.shortcuts)) {
413
+ return props.shortcuts
414
+ }
415
+
416
return getDefaultsShortcuts({
417
lastSevenDays: t('datePicker.shortcuts.lastSevenDays'),
418
lastThirtyDays: t('datePicker.shortcuts.lastThirtyDays'),
0 commit comments