mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 14:13:43 +01:00
Merge pull request #1933 from overleaf/spd-leave-project-without-tags
Fix crash when leaving a project with no tags GitOrigin-RevId: fcbbea5907d3e967785e3f21de039f02bc2123c0
This commit is contained in:
committed by
sharelatex
parent
b86f46a4f8
commit
67c0a3c2a4
@@ -589,7 +589,7 @@ define(['base', 'main/project-list/services/project-list'], function(App) {
|
||||
} else {
|
||||
$scope._removeProjectFromList(project)
|
||||
|
||||
for (let tag of project.tags) {
|
||||
for (let tag of project.tags || []) {
|
||||
$scope._removeProjectIdsFromTagArray(tag, [project._id])
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user