File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
ui/src/components/EventConfigEventCreate Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -313,9 +313,6 @@ const sourceCreationErrors = computed(() => {
313313 if (configName .value .trim () === ' ' ) {
314314 error .name = ' Configuration name is required.'
315315 }
316- if (vendor .value .trim () === ' ' ) {
317- error .vendor = ' Vendor is required.'
318- }
319316 if (vendor .value && vendor .value .length > 128 ) {
320317 error .vendor = ' Vendor must be less than 128 characters.'
321318 }
@@ -673,9 +670,10 @@ const showSourceCreationDialog = () => {
673670
674671const handleSourceCreationSave = async () => {
675672 try {
673+ const newVendor = vendor .value ? vendor .value : configName .value .split (' ' )[1 ]
676674 const response = await addEventConfigSource (
677675 configName .value ,
678- vendor . value ,
676+ newVendor ,
679677 ' '
680678 )
681679 if (response && typeof response === ' object' && response .status === 201 ) {
You can’t perform that action at this time.
0 commit comments