fix zoznam

This commit is contained in:
2026-09-23 20:32:50 +02:00
parent 29144c8af4
commit 44d8bd582b

View File

@@ -648,7 +648,7 @@ export default {
let textZoznam = `# zoznam kolekcií`
if (kolekcie) {
if (Object.keys(kolekcie)?.length) {
for (const kolekcia of Object.keys(kolekcie)) {
textZoznam += `\n- ${kolekcia}`
}
@@ -697,7 +697,7 @@ export default {
let textZoznam = `# zoznam rolí (${kolekcia})`
if (role) {
if (role?.length) {
for (const rola of role) {
textZoznam += `\n- ${rola.nazov} <@&${rola.id}>`
}