Move common logic into systems view again

- adds backend log if subcluster for node not configured
This commit is contained in:
Christoph Kluge
2024-10-14 11:55:59 +02:00
parent 2cbe8e9517
commit 2f6e5a7648
9 changed files with 350 additions and 445 deletions

View File

@@ -22,10 +22,10 @@
function tile(items, itemsPerRow) {
const rows = []
for (let ri = 0; ri < items.length; ri += itemsPerRow) {
for (let ri = 0; ri < items?.length; ri += itemsPerRow) {
const row = []
for (let ci = 0; ci < itemsPerRow; ci += 1) {
if (ri + ci < items.length)
if (ri + ci < items?.length)
row.push(items[ri + ci])
else
row.push({ _is_placeholder: true, ri, ci })