fix: uniform workspace name length limit, fixed #810

This commit is contained in:
QiShaoXuan
2023-02-07 14:00:33 +08:00
parent c953e82234
commit 3c5a98ff7c
3 changed files with 7 additions and 4 deletions
@@ -85,8 +85,8 @@ export const GeneralPage = ({ workspace }: { workspace: WorkspaceUnit }) => {
height={32}
value={workspaceName}
placeholder={t('Workspace Name')}
maxLength={14}
minLength={1}
maxLength={15}
minLength={0}
disabled={!isOwner}
onChange={handleChangeWorkSpaceName}
></StyledInput>