adasd
This commit is contained in:
@@ -334,7 +334,7 @@ export function initEditor() {
|
|||||||
let activeId = '';
|
let activeId = '';
|
||||||
rows.forEach((item) => {
|
rows.forEach((item) => {
|
||||||
const opt = document.createElement('option');
|
const opt = document.createElement('option');
|
||||||
const label = `#${item.version_no} – ${formatVersionDate(item.created_at)}` + (Number(item.is_active) === 1 ? ' (aktiv)' : '');
|
const label = `${Number(item.is_active) === 1 ? '✓ ' : ''}#${item.version_no} – ${formatVersionDate(item.created_at)}`;
|
||||||
opt.value = String(item.id);
|
opt.value = String(item.id);
|
||||||
opt.textContent = label;
|
opt.textContent = label;
|
||||||
versionSelect.appendChild(opt);
|
versionSelect.appendChild(opt);
|
||||||
|
|||||||
Reference in New Issue
Block a user