mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
fix: Fix storybook (no-changelog) (#4624)
since we migrated to vite, storybook/webpack aren't doing all the babel transforms. that's we we need to revert all optional-chaining and nullish-coalescing in design-system. Hopefully this will be remedied after we move to vite for storybook.
This commit is contained in:
committed by
GitHub
parent
423ee81e33
commit
58630e43c0
@@ -128,10 +128,10 @@ const slots = useSlots();
|
||||
const inputRef = ref<HTMLTextAreaElement | null>(null);
|
||||
|
||||
function getInputValidationError(): ReturnType<IValidator['validate']> {
|
||||
const rules = props.validationRules ?? [];
|
||||
const rules = props.validationRules || [];
|
||||
const validators = {
|
||||
...VALIDATORS,
|
||||
...(props.validators ?? {}),
|
||||
...(props.validators || {}),
|
||||
} as { [key: string]: IValidator | RuleGroup };
|
||||
|
||||
if (props.required) {
|
||||
|
||||
Reference in New Issue
Block a user