diff --git a/public/js/components/Cis/Profil/MitarbeiterProfil.js b/public/js/components/Cis/Profil/MitarbeiterProfil.js
index cd40d0741..2332550b5 100644
--- a/public/js/components/Cis/Profil/MitarbeiterProfil.js
+++ b/public/js/components/Cis/Profil/MitarbeiterProfil.js
@@ -219,10 +219,6 @@ export default {
}
});
},
- setTableColumnTitles() { // reevaluates computed phrasen
- if(this.$refs.betriebsmittelTable) this.$refs.betriebsmittelTable.tabulator.setColumns(this.betriebsmittel_table_options.columns)
- if(this.$refs.funktionenTable) this.$refs.funktionenTable.tabulator.setColumns(this.funktionen_table_options.columns)
- },
datetimeFormatterParams: function() {
const params = {
inputFormat:"yyyy-MM-dd",
@@ -311,9 +307,6 @@ export default {
'data.mittel'(newVal) {
if(this.$refs.betriebsmittelTable) this.$refs.betriebsmittelTable.tabulator.setData(newVal);
},
- 'language.value'(newVal) {
- this.setTableColumnTitles()
- }
},
template: /*html*/ `
diff --git a/public/js/components/Cis/Profil/StudentProfil.js b/public/js/components/Cis/Profil/StudentProfil.js
index b4debb3c3..ee7654b86 100644
--- a/public/js/components/Cis/Profil/StudentProfil.js
+++ b/public/js/components/Cis/Profil/StudentProfil.js
@@ -27,7 +27,7 @@ export default {
FetchProfilUpdates,
EditProfil,
},
- inject: ["sortProfilUpdates", "collapseFunction", "language","isEditable"],
+ inject: ["sortProfilUpdates", "collapseFunction", "isEditable"],
data() {
return {
showModal: false,
@@ -245,12 +245,6 @@ export default {
//? sorts the profil Updates: pending -> accepted -> rejected
this.data.profilUpdates?.sort(this.sortProfilUpdates);
},
- watch: {
- 'language.value'(newVal) {
- if(this.$refs.betriebsmittelTable) this.$refs.betriebsmittelTable.tabulator.setColumns(this.betriebsmittel_table_options.columns)
- if(this.$refs.zutrittsgruppenTable) this.$refs.zutrittsgruppenTable.tabulator.setColumns(this.zutrittsgruppen_table_options.columns)
- }
- },
template: /*html*/ `