mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-15 14:43:46 +01:00
- Replace free-text license input with a select box - Improve visual presentation of modals and enhance keyboard interaction
This commit is contained in:
@@ -774,16 +774,11 @@ const _ProjectController = {
|
||||
)
|
||||
}
|
||||
|
||||
console.log("Features.hasFeature('templates-server-pro') = ", Features.hasFeature('templates-server-pro'))
|
||||
console.log("Settings.templates?.nonAdminCanManage", Settings.templates?.nonAdminCanManage)
|
||||
|
||||
const isAdminOrTemplateOwner =
|
||||
hasAdminAccess(user) || Settings.templates?.nonAdminCanManage
|
||||
const showTemplatesServerPro =
|
||||
Features.hasFeature('templates-server-pro') && isAdminOrTemplateOwner
|
||||
|
||||
console.log("showTemplatesServerPro = ", showTemplatesServerPro )
|
||||
|
||||
const debugPdfDetach = shouldDisplayFeature('debug_pdf_detach')
|
||||
|
||||
const detachRole = req.params.detachRole
|
||||
|
||||
Reference in New Issue
Block a user