mirror of
https://git.ethanthesleepy.one/ethanaobrien/ew.git
synced 2025-05-13 11:37:33 -05:00
hmm
This commit is contained in:
parent
7bd620e110
commit
a6592beed0
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,6 @@ function Admin() {
|
||||||
const ids = [setimp, setexp];
|
const ids = [setimp, setexp];
|
||||||
|
|
||||||
const handleSubmit = async (id, event) => {
|
const handleSubmit = async (id, event) => {
|
||||||
ids[id](event.target.checked);
|
|
||||||
await Request(
|
await Request(
|
||||||
"/api/webui/admin",
|
"/api/webui/admin",
|
||||||
{
|
{
|
||||||
|
@ -16,6 +15,7 @@ function Admin() {
|
||||||
export: !!exp
|
export: !!exp
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
ids[id](event.target.checked);
|
||||||
};
|
};
|
||||||
|
|
||||||
if (imp === undefined) {
|
if (imp === undefined) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue