chore: hidden open api field

This commit is contained in:
Steven 2023-03-15 08:24:28 +08:00
parent 59fb9227a3
commit 8a4e0ae434
2 changed files with 16 additions and 13 deletions

View File

@ -60,7 +60,7 @@ const Header: React.FC = () => {
to={`/${workspace.name}`}
className="w-full px-3 leading-10 flex flex-row justify-between items-center text-left cursor-pointer rounded whitespace-nowrap hover:bg-gray-100"
>
<span className="truncate">{workspace.name}</span>
<span className="truncate">{workspace.title}</span>
{workspace.name === activedWorkspace?.name && <Icon.Check className="w-4 h-auto ml-1 shrink-0" />}
</Link>
);

View File

@ -72,6 +72,8 @@ const UserDetail: React.FC = () => {
Change
</Button>
</div>
{/* Do not display open api related field right now. */}
{false && (
<div className="leading-8 flex flex-row justify-start items-center">
<span className="mr-3 text-gray-500 font-mono">OpenID:</span>
<Input type="text" className="w-48" value={user?.openId} readOnly />
@ -84,6 +86,7 @@ const UserDetail: React.FC = () => {
Reset
</Button>
</div>
)}
</div>
{state.showChangePasswordDialog && (