Revert "feat: knowledge admin role" (#6018)

This commit is contained in:
takatost 2024-07-05 21:31:34 +08:00 • committed by GitHub
commit 79df8825c8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
46 changed files with 350 additions and 1028 deletions

View file

@ -113,7 +113,7 @@ const NavSelector = ({ curNav, navs, createText, isApp, onCreate, onLoadmore }:
))
}
</div>
{!isApp && isCurrentWorkspaceEditor && (
{!isApp && (
<Menu.Button className='p-1 w-full'>
<div onClick={() => onCreate('')} className={cn(
'flex items-center gap-2 px-3 py-[6px] rounded-lg cursor-pointer hover:bg-gray-100',