mirror of
https://github.com/overleaf/overleaf.git
synced 2025-03-06 06:42:15 +00:00
Fix linked-file-types check when opening modal
This commit is contained in:
parent
656d40ac39
commit
16419847ae
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ define [
|
|||
)
|
||||
|
||||
$scope.openProjectLinkedFileModal = window.openProjectLinkedFileModal = () ->
|
||||
unless 'url' in window.data.enabledLinkedFileTypes
|
||||
unless 'project_file' in window.data.enabledLinkedFileTypes
|
||||
console.warn("Project linked files are not enabled")
|
||||
return
|
||||
$modal.open(
|
||||
|
|
Loading…
Reference in a new issue