mirror of
https://github.com/aykhans/slash-e.git
synced 2025-04-20 22:07:15 +00:00
chore: hidden open api field
This commit is contained in:
parent
59fb9227a3
commit
8a4e0ae434
@ -60,7 +60,7 @@ const Header: React.FC = () => {
|
|||||||
to={`/${workspace.name}`}
|
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"
|
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" />}
|
{workspace.name === activedWorkspace?.name && <Icon.Check className="w-4 h-auto ml-1 shrink-0" />}
|
||||||
</Link>
|
</Link>
|
||||||
);
|
);
|
||||||
|
@ -72,6 +72,8 @@ const UserDetail: React.FC = () => {
|
|||||||
Change
|
Change
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
|
{/* Do not display open api related field right now. */}
|
||||||
|
{false && (
|
||||||
<div className="leading-8 flex flex-row justify-start items-center">
|
<div className="leading-8 flex flex-row justify-start items-center">
|
||||||
<span className="mr-3 text-gray-500 font-mono">OpenID:</span>
|
<span className="mr-3 text-gray-500 font-mono">OpenID:</span>
|
||||||
<Input type="text" className="w-48" value={user?.openId} readOnly />
|
<Input type="text" className="w-48" value={user?.openId} readOnly />
|
||||||
@ -84,6 +86,7 @@ const UserDetail: React.FC = () => {
|
|||||||
Reset
|
Reset
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
|
)}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{state.showChangePasswordDialog && (
|
{state.showChangePasswordDialog && (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user