mirror of
https://github.com/HugoAura/Seewo-HugoAura.git
synced 2026-08-20 12:33:23 +08:00
[Feat] Bump version to 0.1.0-beta && 1st rel
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
(() => {
|
||||
const pathBase =
|
||||
"../../aura/ui/pages/configSubPages/disableLimitations/settings";
|
||||
|
||||
const {
|
||||
settingsRenderer,
|
||||
} = require("../../aura/ui/composables/settingsRenderer");
|
||||
const { authSettings } = require(`${pathBase}/auth`);
|
||||
const { banAuditSettings } = require(`${pathBase}/audit`);
|
||||
|
||||
const initAuthSubPage = () => {
|
||||
const authSubPageEl = document.getElementById("auth-subpage");
|
||||
settingsRenderer(authSubPageEl, authSettings);
|
||||
};
|
||||
|
||||
const initBanAuditSubPage = () => {
|
||||
const banAuditSubPageEl = document.getElementById("disable-audit-subpage");
|
||||
settingsRenderer(banAuditSubPageEl, banAuditSettings);
|
||||
};
|
||||
|
||||
const onMounted = () => {
|
||||
initAuthSubPage();
|
||||
initBanAuditSubPage();
|
||||
|
||||
const rootEl = document.getElementById("acs-disable-limit-root-el");
|
||||
setTimeout(() => {
|
||||
rootEl.classList.remove("acs-disable-limit-root-hidden");
|
||||
}, 500);
|
||||
};
|
||||
|
||||
onMounted();
|
||||
})();
|
||||
Reference in New Issue
Block a user