From b29e2be1f1f6b90ce3f270089302f2a0290d0072 Mon Sep 17 00:00:00 2001 From: Brandon Jordan Date: Mon, 3 Jun 2024 20:19:40 -0400 Subject: [PATCH] Correct action params name --- src/actions/get-file-from-folder.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/actions/get-file-from-folder.ts b/src/actions/get-file-from-folder.ts index 99041cf..8eece64 100644 --- a/src/actions/get-file-from-folder.ts +++ b/src/actions/get-file-from-folder.ts @@ -2,7 +2,7 @@ import {renderActionHeader, renderParameters} from "~/render"; import {actions, actionText} from "~/actions"; import {renderValue} from "~/value"; -interface GetIPAddress { +interface GetFileFromFolderParams { WFGetFilePath: string | object WFFile: string | object WFGetFolderContents: boolean @@ -13,7 +13,7 @@ interface GetIPAddress { export default { title: "Get file from", icon: 'folder_fill', - render: (container: HTMLElement, params: GetIPAddress) => { + render: (container: HTMLElement, params: GetFileFromFolderParams) => { container.className += ' sp-blue-action'; const action = renderActionHeader(actions['documentpicker.open'],