This commit is contained in:
Rizky 2024-02-08 07:53:32 +07:00
parent 48a0dfe182
commit 3ad90bef6c
2 changed files with 5 additions and 5 deletions

View File

@ -1,9 +1,8 @@
import { dir } from "dir";
import { apiContext } from "service-srv";
import { g } from "utils/global";
import { validate } from "uuid";
import { gzipAsync } from "../ws/sync/entity/zlib";
import { code } from "../ws/sync/editor/code/util-code";
import { gzipAsync } from "../ws/sync/entity/zlib";
export const _ = {
url: "/deploy/:site_id/**",

View File

@ -5,10 +5,11 @@ import { TopBtn } from "../top-btn";
export const EdPagePicker = () => {
const p = useGlobal(EDGlobal, "EDITOR");
if (p.page.list[p.page.cur.id]) {
if (p.page.cur.name !== p.page.list[p.page.cur.id].page.name) {
p.page.cur.name = p.page.list[p.page.cur.id].page.name;
}
}
return (
<TopBtn
onClick={(e) => {