Skip to content

Commit b1ddb2e

Browse files
jyash97CompuIves
authored andcommitted
show alias instead of id as fallback (codesandbox#2959)
1 parent 7c20b4d commit b1ddb2e

File tree

1 file changed

+1
-1
lines changed
  • packages/app/src/embed/components/Sidebar/SandboxInfo

1 file changed

+1
-1
lines changed

packages/app/src/embed/components/Sidebar/SandboxInfo/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { Container, Title, Description, Stats } from './elements';
33
import AvatarBlock from '../AvatarBlock';
44

55
const SandboxInfo = ({ sandbox }) => {
6-
const title = sandbox.title || sandbox.id;
6+
const title = sandbox.title || sandbox.alias || sandbox.id;
77

88
return (
99
<Container>

0 commit comments

Comments
 (0)