fix(ui): duplicate form names

This commit is contained in:
Fu Diwei
2024-12-20 12:06:30 +08:00
parent d143df3f9f
commit cae33cfc4f
27 changed files with 116 additions and 98 deletions

View File

@@ -7,8 +7,9 @@ const COLLECTION_NAME = "access";
export const list = async () => {
return await getPocketBase().collection(COLLECTION_NAME).getFullList<AccessModel>({
sort: "-created",
filter: "deleted=null",
sort: "-created",
requestKey: null,
});
};

View File

@@ -21,6 +21,7 @@ export const list = async (req: CertificateListReq) => {
const options: RecordListOptions = {
sort: "-created",
expand: "workflow",
requestKey: null,
};
if (req.state === "expireSoon") {