diff --git a/web/app/src/components/jobs/JobsTable.vue b/web/app/src/components/jobs/JobsTable.vue index 534e3806..8ceaa3c4 100644 --- a/web/app/src/components/jobs/JobsTable.vue +++ b/web/app/src/components/jobs/JobsTable.vue @@ -242,6 +242,12 @@ export default { } const tableHeight = availableHeight - tableContainer.offsetTop; + if (this.tabulator.element.clientHeight == tableHeight) { + // Setting the height on a tabulator triggers all kinds of things, so + // don't do if it not necessary. + return; + } + this.tabulator.setHeight(tableHeight); }, }, diff --git a/web/app/src/components/jobs/TasksTable.vue b/web/app/src/components/jobs/TasksTable.vue index 3f6fa29d..56d00991 100644 --- a/web/app/src/components/jobs/TasksTable.vue +++ b/web/app/src/components/jobs/TasksTable.vue @@ -226,6 +226,12 @@ export default { } const tableHeight = availableHeight - tableContainer.offsetTop; + if (this.tabulator.element.clientHeight == tableHeight) { + // Setting the height on a tabulator triggers all kinds of things, so + // don't do if it not necessary. + return; + } + this.tabulator.setHeight(tableHeight); }, }