From b2a1b172e266d5f05093a7edafa59d6ce53315f2 Mon Sep 17 00:00:00 2001 From: Marco Rodolfi Date: Thu, 22 Jun 2023 12:54:41 +0200 Subject: Fix: export V2 to plugins --- frontend/src/plugin-loader.tsx | 1 + 1 file changed, 1 insertion(+) (limited to 'frontend/src/plugin-loader.tsx') diff --git a/frontend/src/plugin-loader.tsx b/frontend/src/plugin-loader.tsx index e8671faa..387de7bf 100644 --- a/frontend/src/plugin-loader.tsx +++ b/frontend/src/plugin-loader.tsx @@ -438,6 +438,7 @@ class PluginLoader extends Logger { toaster: this.toaster, callServerMethod: this.callServerMethod, openFilePicker: this.openFilePicker, + openFilePickerV2: this.openFilePickerV2, async callPluginMethod(methodName: string, args = {}) { const response = await fetch(`http://127.0.0.1:1337/plugins/${pluginName}/methods/${methodName}`, { method: 'POST', -- cgit v1.2.3