fix(roleConfig): correct promise handling in fetchTemplates method

This commit is contained in:
lapy 2026-04-26 22:23:12 +01:00
parent 2cbc525114
commit 50e3a961c0

View file

@ -509,8 +509,8 @@ export default {
showClose: true, showClose: true,
}); });
}) })
}).catch(() => { .catch(() => {
}); });
}, },
fetchTemplates() { fetchTemplates() {
Api.agent.getAgentTemplate(({ data }) => { Api.agent.getAgentTemplate(({ data }) => {