diff --git a/services/frontend/src/components/Modal/service/form-utils.ts b/services/frontend/src/components/Modal/service/form-utils.ts index e7aa43b..286b6a5 100644 --- a/services/frontend/src/components/Modal/service/form-utils.ts +++ b/services/frontend/src/components/Modal/service/form-utils.ts @@ -129,7 +129,7 @@ export const getInitialValues = (node?: IServiceNodeItem): IEditServiceForm => { .substring(0, slashIndex) .split(":"); - if (!["tcp", "udp"].includes(protocol)) { + if (!["", "tcp", "udp"].includes(protocol)) { throw new Error( `Invalid protocol "${protocol}" found while deserializing.` );