fix: dashboard links to globals

This commit is contained in:
Dan Ribbens
2022-09-13 09:47:28 -04:00
parent bb1477e08b
commit dcc8dad53b

View File

@@ -82,7 +82,7 @@ const Dashboard: React.FC<Props> = (props) => {
if (type === EntityType.global) {
title = entity.label;
onClick = () => push({ pathname: `${admin}/globals/${global.slug}` });
onClick = () => push({ pathname: `${admin}/globals/${entity.slug}` });
}
return (