mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
add_faux_cell: create parent array if doesn't exists
This commit is contained in:
@ -2350,6 +2350,10 @@
|
||||
original_row: row
|
||||
}).coords();
|
||||
|
||||
if (!$.isArray(this.gridmap[col])) {
|
||||
this.gridmap[col] = [];
|
||||
}
|
||||
|
||||
this.gridmap[col][row] = false;
|
||||
this.faux_grid.push(coords);
|
||||
|
||||
|
Reference in New Issue
Block a user