From b5b041fdee3cdb3576cd4d1c77580f57da0b6435 Mon Sep 17 00:00:00 2001 From: AAGaming Date: Fri, 9 Sep 2022 16:25:52 -0400 Subject: add file picker, add library file picker patch, bump lib, logger tweaks --- frontend/src/components/modals/filepicker/patches/index.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 frontend/src/components/modals/filepicker/patches/index.ts (limited to 'frontend/src/components/modals/filepicker/patches/index.ts') 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()); +} -- cgit v1.2.3