summaryrefslogtreecommitdiff
path: root/frontend/src/components/modals/filepicker/patches/index.ts
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/src/components/modals/filepicker/patches/index.ts')
-rw-r--r--frontend/src/components/modals/filepicker/patches/index.ts10
1 files changed, 10 insertions, 0 deletions
diff --git a/frontend/src/components/modals/filepicker/patches/index.ts b/frontend/src/components/modals/filepicker/patches/index.ts
new file mode 100644
index 00000000..310bfbf8
--- /dev/null
+++ b/frontend/src/components/modals/filepicker/patches/index.ts
@@ -0,0 +1,10 @@
+import library from './library';
+let patches: Function[] = [];
+
+export function deinitFilepickerPatches() {
+ patches.forEach((unpatch) => unpatch());
+}
+
+export async function initFilepickerPatches() {
+ patches.push(await library());
+}