Skip to content

Commit 4a267d7

Browse files
committed
Add review suggestions
1 parent 7fd5142 commit 4a267d7

5 files changed

Lines changed: 4 additions & 884 deletions

File tree

workspaces/ballerina/ballerina-extension/e2e-test/e2e-playwright-tests/file-integration/SMB_INTEGRATION_TEST_SPEC.md

Lines changed: 0 additions & 297 deletions
This file was deleted.

workspaces/ballerina/ballerina-visualizer/src/views/BI/ServiceDesigner/Forms/FileIntegrationForm/index.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,8 +177,9 @@ export function FileIntegrationForm(props: FileIntegrationFormProps) {
177177
const [serviceModel, setServiceModel] = useState<ServiceModel>(model);
178178
const [functionModel, setFunctionModel] = useState<FunctionModel | null>(props.functionModel || null);
179179

180+
const protocol = model.moduleName === 'smb' ? Protocol.SMB : Protocol.FTP;
180181
const payloadContext = {
181-
protocol: Protocol.FTP,
182+
protocol,
182183
filterType: functionModel?.name?.metadata?.label || "",
183184
} as GeneralPayloadContext;
184185

workspaces/ballerina/ballerina-visualizer/src/views/BI/ServiceDesigner/Forms/SMBForm/SMBConfigForm.tsx

Lines changed: 0 additions & 75 deletions
This file was deleted.

0 commit comments

Comments
 (0)