fix: storage api alignment

This commit is contained in:
jialin
2026-05-11 19:49:21 +08:00
committed by jialin
parent 7fa44644fd
commit 7d0cfeff77
34 changed files with 881 additions and 324 deletions
-11
View File
@@ -6,7 +6,6 @@ import styled from 'styled-components';
import PageBox from '../_components/page-box';
import Appearance from './components/appearance';
import ModifyPasswordn from './components/modify-password';
import PublicKey from './components/public-key';
const Wrapper = styled.div`
.ant-page-header-heading {
@@ -27,11 +26,6 @@ const Profile: React.FC = () => {
const items: TabsProps['items'] = useMemo(() => {
if (initialState?.currentUser?.source !== 'Local') {
return [
{
key: 'public-key',
label: 'SSH Public Key',
children: <PublicKey />
},
{
key: 'appearance',
label: intl.formatMessage({ id: 'common.appearance' }),
@@ -45,11 +39,6 @@ const Profile: React.FC = () => {
label: intl.formatMessage({ id: 'users.form.updatepassword' }),
children: <ModifyPasswordn />
},
{
key: 'public-key',
label: 'SSH 公钥',
children: <PublicKey />
},
{
key: 'appearance',
label: intl.formatMessage({ id: 'common.appearance' }),