Skip to content
Snippets Groups Projects
Commit d94dd332 authored by Thomas Hackl's avatar Thomas Hackl Committed by Jan-Hendrik Willms
Browse files

Arbeitsplatz/Dateiansicht: Übersichtsseite fehlen Ansichten

parent f54c257a
No related branches found
No related tags found
No related merge requests found
......@@ -39,7 +39,7 @@ const Files = {
//tables are displayed in one page.
var tables = jQuery('.vue-file-table');
if (tables.length) {
for (var table of tables) {
for (let table of tables) {
STUDIP.Vue.load().then(({createApp}) => {
createApp({
el: table,
......
......@@ -369,6 +369,7 @@ export default {
watch: {
selectedIds (current) {
const activated = current.length > 0;
if (this.$refs.buttons) {
this.$nextTick(() => { // needs to be wrapped since we check the dom
this.$refs.buttons.querySelectorAll('.multibuttons .button').forEach(element => {
let condition = element.dataset.activatesCondition;
......@@ -382,6 +383,7 @@ export default {
}
});
});
}
},
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment