Skip to content
Snippets Groups Projects
Commit 6880a956 authored by Thomas Hackl's avatar Thomas Hackl
Browse files

Arbeitsplatz/Dateiansicht: Übersichtsseite fehlen Ansichten

parent 6a027592
No related branches found
No related tags found
No related merge requests found
...@@ -39,7 +39,7 @@ const Files = { ...@@ -39,7 +39,7 @@ const Files = {
//tables are displayed in one page. //tables are displayed in one page.
var tables = jQuery('.vue-file-table'); var tables = jQuery('.vue-file-table');
if (tables.length) { if (tables.length) {
for (var table of tables) { for (let table of tables) {
STUDIP.Vue.load().then(({createApp}) => { STUDIP.Vue.load().then(({createApp}) => {
createApp({ createApp({
el: table, el: table,
......
...@@ -369,6 +369,7 @@ export default { ...@@ -369,6 +369,7 @@ export default {
watch: { watch: {
selectedIds (current) { selectedIds (current) {
const activated = current.length > 0; const activated = current.length > 0;
if (this.$refs.buttons) {
this.$nextTick(() => { // needs to be wrapped since we check the dom this.$nextTick(() => { // needs to be wrapped since we check the dom
this.$refs.buttons.querySelectorAll('.multibuttons .button').forEach(element => { this.$refs.buttons.querySelectorAll('.multibuttons .button').forEach(element => {
let condition = element.dataset.activatesCondition; let condition = element.dataset.activatesCondition;
...@@ -382,6 +383,7 @@ export default { ...@@ -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