fix(skills): wait for source before enabling the editor

This commit is contained in:
red person
2026-10-28 07:06:39 +03:00
parent a646b59110
commit 2c5d5005ba
6 changed files with 113 additions and 6 deletions
+1 -1
View File
@@ -1941,7 +1941,7 @@ function _activateEntityAnchor(e, forcedAnchor = null) {
else { const b = document.getElementById('tasks-btn'); if (b) b.click(); }
}).catch(() => { const b = document.getElementById('tasks-btn'); if (b) b.click(); });
} else if (kind === 'skill') {
import('./skills.js?v=20260909kebabconsistency1').then(mod => {
import('./skills.js?v=20261028skillsourceready1').then(mod => {
const open = mod.openSkill || (mod.default && mod.default.openSkill);
if (open) open(id);
}).catch(() => {});