feat: add admin.hidden to collections and globals (#2487)

This commit is contained in:
Dan Ribbens
2023-04-17 15:21:42 -04:00
committed by GitHub
parent faef4d5f8e
commit 81d69d1b64
14 changed files with 276 additions and 198 deletions

View File

@@ -18,6 +18,10 @@ export class AdminUrlUtil {
return `${this.list}/${id}`;
}
collection(slug: string): string {
return `${this.admin}/collections/${slug}`;
}
global(slug: string): string {
return `${this.admin}/globals/${slug}`;
}