feat: add dumb yaml detection

This commit is contained in:
Aarnav Tale 2024-04-17 17:20:35 -04:00
parent c2fe69ec17
commit 94174ebcce
No known key found for this signature in database
5 changed files with 48 additions and 11 deletions

View file

@ -20,10 +20,11 @@ export async function loader() {
throw new Error('No ACL configuration is available')
}
const acl = await getAcl()
const { data, type } = await getAcl()
return {
hasAclWrite: context.hasAclWrite,
currentAcl: acl
currentAcl: data,
aclType: type
}
}
@ -85,7 +86,7 @@ export default function Page() {
<Tab.List className={clsx(
'flex border-t border-gray-200 dark:border-gray-700',
'w-fit rounded-t-lg overflow-hidden',
'text-gray-300 dark:text-gray-500'
'text-gray-400 dark:text-gray-500'
)}
>
<Tab as={Fragment}>