diff --git a/public/js/apps/Dashboard/Admin.js b/public/js/apps/Dashboard/Admin.js index 4a5fcee2f..7c57abbda 100644 --- a/public/js/apps/Dashboard/Admin.js +++ b/public/js/apps/Dashboard/Admin.js @@ -13,4 +13,5 @@ const app = Vue.createApp({ } }); app.use(PluginsPhrasen); +app.directive('tooltip', primevue.tooltip); app.mount('#main'); \ No newline at end of file diff --git a/public/js/components/Bootstrap/Confirm.js b/public/js/components/Bootstrap/Confirm.js index a56885473..f6ac52abc 100644 --- a/public/js/components/Bootstrap/Confirm.js +++ b/public/js/components/Bootstrap/Confirm.js @@ -17,7 +17,7 @@ export default { - + ` } diff --git a/public/js/components/Dashboard/Admin.js b/public/js/components/Dashboard/Admin.js index b35346fb5..3ea7a3260 100644 --- a/public/js/components/Dashboard/Admin.js +++ b/public/js/components/Dashboard/Admin.js @@ -41,7 +41,7 @@ export default { return this.$api .call(ApiDashboardAdmin.addDashboard(params)) .then(response =>{ - this.$fhcAlert.alertSuccess(this.$p.t('ui', 'successSave')); //TODO(Manu) phrase here working + this.$fhcAlert.alertSuccess(this.$p.t('ui', 'successSave')); let newDashboard = { dashboard_id: response.data, @@ -58,7 +58,8 @@ export default { return this.$api .call(ApiDashboardAdmin.updateDashboard(dashboard)) .then(response =>{ - this.$fhcAlert.alertSuccess(this.$p.t('ui', 'successSave')); //TODO(Manu) phrase here working + + this.$fhcAlert.alertSuccess(this.$p.t('ui', 'successSave')); let old = this.dashboards.find(el => el.dashboard_id == dashboard.dashboard_id); old.dashboard_kurzbz = dashboard.dashboard_kurzbz; @@ -70,7 +71,7 @@ export default { return this.$api .call(ApiDashboardAdmin.deleteDashboard(dashboard_id)) .then(response => { - this.$fhcAlert.alertSuccess(this.$p.t('ui', 'successDelete')); //TODO(Manu) phrase here NOT always working + this.$fhcAlert.alertSuccess(this.$p.t('ui', 'successDelete')); }) .catch(this.$fhcAlert.handleSystemError) @@ -108,7 +109,7 @@ export default {