Fix async call

This commit is contained in:
John 2023-10-30 19:50:28 +07:00
parent 01f230ef8e
commit 8f586b453b

View File

@ -66,7 +66,7 @@ export async function getActive() {
}
// eslint-disable-next-line no-undef
const plgList = await window.pluggableElectronIpc?.getActive() ??
import(
await import(
// eslint-disable-next-line no-undef
/* webpackIgnore: true */ PLUGIN_CATALOG + `?t=${Date.now()}`
).then((data) => data.default.filter((e) => e.supportCloudNative));