Make clone dashlet ask for a rendered dashlet to the backend

This commit is contained in:
Stephen Abello
2026-01-12 10:34:57 +01:00
parent f79bb9d51c
commit ff11aec7fe
3 changed files with 14 additions and 13 deletions

View File

@@ -83,7 +83,7 @@ class IboDashboard extends HTMLElement {
}
}
AddNewDashlet(sDashletClass, aDashletOptions = {}) {
AddNewDashlet(sDashletClass, sDashletValues, aDashletOptions = {}) {
const sNewDashletUrl = GetAbsoluteUrlAppRoot() + '/pages/UI.php?route=dashboard.get_dashlet&dashlet_class='+encodeURIComponent(sDashletClass);
fetch(sNewDashletUrl)
.then(async data => {