mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-27 08:02:51 +02: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