* Adjust code space.

This commit is contained in:
caoyanyi
2023-08-14 09:26:47 +08:00
parent 5e0af1532d
commit 400b322c20
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -208,7 +208,7 @@ class gogs extends control
}
$userList = array();
$gogsUsers = $this->gogs->apiGetUsers($gogsID);
$gogsUsers = $this->gogs->apiGetUsers($gogsID);
$bindedUsers = $this->gogs->getUserAccountIdPairs($gogsID);
$matchedResult = $this->gogs->getMatchedUsers($gogsID, $gogsUsers, $zentaoUsers);
@@ -240,7 +240,7 @@ class gogs extends control
$this->view->title = $this->lang->gogs->bindUser;
$this->view->type = $type;
$this->view->gogsID = $gogsID;
$this->view->gogsID = $gogsID;
$this->view->recTotal = count($userList);
$this->view->userList = $userList;
$this->view->userPairs = $userPairs;
+2 -2
View File
@@ -9,8 +9,8 @@ window.setUserEmail = function()
window.renderGitlabUser = function(result, {row})
{
const gitlabID = row.data.gitlabID;
result.push({html: `<input type="hidden" name='gogsUserNames[]' value='${gitlabID}'>`});
const gogsID = row.data.gogsID;
result.push({html: `<input type="hidden" name='gogsUserNames[]' value='${gogsID}'>`});
return result;
}