"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.renderPipeline = renderPipeline; const api_js_1 = require("../../services/api.js"); const toast_js_1 = require("../../ui/toast.js"); async function renderPipeline(guildId) { const container = document.getElementById('tickets-pipeline'); if (!container) return; container.innerHTML = '
Lade Pipeline...
'; try { const data = await api_js_1.api.pipeline(guildId); const lanes = data?.lanes || []; container.innerHTML = '${lane.name || 'Lane'}
${lane.count ?? 0}
`; grid.appendChild(card); }); container.appendChild(grid); } catch (err) { console.error(err); container.innerHTML = '