+ Fix js error of repo.
This commit is contained in:
@@ -115,7 +115,8 @@ window.diffClick = function()
|
||||
window.canRowCheckable = function(rowID)
|
||||
{
|
||||
const dtable = zui.DTable.query('#repo-comments-table');
|
||||
var data = dtable.$.props.data;
|
||||
if(dtable == undefined) return;
|
||||
var data = dtable.$.props.data;
|
||||
|
||||
if(data.length == 0) return true;
|
||||
|
||||
|
||||
@@ -34,7 +34,8 @@ window.checkedChange = function(changes)
|
||||
window.canRowCheckable = function(rowID)
|
||||
{
|
||||
const dtable = zui.DTable.query('#repo-logs-table');
|
||||
var data = dtable.$.props.data;
|
||||
if(dtable == undefined) return;
|
||||
var data = dtable.$.props.data;
|
||||
|
||||
if(data.length == 0) return true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user