mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-04 05:10:19 +08:00
Improve creation UI for pages.
This commit is contained in:
@ -47,7 +47,7 @@ class OrganizationListPage extends React.Component {
|
||||
}
|
||||
|
||||
newOrganization() {
|
||||
var randomName = Math.random().toString(36).slice(-6)
|
||||
const randomName = Setting.getRandomName();
|
||||
return {
|
||||
owner: "admin", // this.props.account.organizationname,
|
||||
name: `organization_${randomName}`,
|
||||
|
Reference in New Issue
Block a user