Merge pull request #12929 from overleaf/msm-fix-templates-sp
[web] Fix template rendering in Server Pro GitOrigin-RevId: 01dad18d61eb5a0e524cc80ddfcb55d0140a14cb
This commit is contained in:
@@ -221,8 +221,13 @@ function NewProjectButton({
|
||||
))}
|
||||
</>
|
||||
) : null}
|
||||
<MenuItem divider />
|
||||
<MenuItem header>{t('templates')}</MenuItem>
|
||||
|
||||
{templateLinks && templateLinks.length > 0 && (
|
||||
<>
|
||||
<MenuItem divider />
|
||||
<MenuItem header>{t('templates')}</MenuItem>
|
||||
</>
|
||||
)}
|
||||
{templateLinks?.map((templateLink, index) => (
|
||||
<MenuItem
|
||||
key={`new-project-button-template-${index}`}
|
||||
|
||||
Reference in New Issue
Block a user