Skip to content

Commit 21a6480

Browse files
committed
test fixes
1 parent 9656a60 commit 21a6480

File tree

2 files changed

+721
-338
lines changed

2 files changed

+721
-338
lines changed

ui/src/components/EventConfigEventCreate/BasicInformation.vue

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -671,6 +671,13 @@ const showSourceCreationDialog = () => {
671671
const handleSourceCreationSave = async () => {
672672
try {
673673
const newVendor = vendor.value ? vendor.value : configName.value.split(' ')[1]
674+
if (newVendor.length > 128) {
675+
snackbar.showSnackBar({
676+
msg: 'Vendor must be less than 128 characters.',
677+
error: true
678+
})
679+
return
680+
}
674681
const response = await addEventConfigSource(
675682
configName.value,
676683
newVendor,

0 commit comments

Comments
 (0)