Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit aec774d

Browse files
authored
Merge pull request #458 from 52cs/fix-empty-tags/Issue#453
fix-empty-tags
2 parents 5c2afde + c334ca3 commit aec774d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/front/src/app/upsertproject/upsertproject.controller.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ angular.module('topcoderX').controller('ProjectController', ['currentUser', '$sc
3030
if ($rootScope.project) {
3131
$scope.title = 'Manage a Project';
3232
$scope.project = $rootScope.project;
33-
$scope.project.tags = $rootScope.project.tags.split(',');
33+
$scope.project.tags = !!$rootScope.project.tags ? $rootScope.project.tags.split(',') : [];
3434
$scope.project.repoUrl = $rootScope.project.repoUrls.join(',');
3535
$scope.editing = true;
3636
if ($rootScope.project.tcDirectId) {

0 commit comments

Comments
 (0)