fix(web-admin): recalc viewport table height on activate
Ensure order and weighing lists refresh table height after tab activation. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
fa48577a74
commit
6e92bf49d8
2 files changed
+3
No files matched your search
@@ -1202,10 +1202,12 @@
|
||||
|
||||
onMounted(() => {
|
||||
loadData()
|
||||
nextTick(() => recalcTableHeight())
|
||||
})
|
||||
|
||||
onActivated(() => {
|
||||
openAddFromInventoryQuery()
|
||||
nextTick(() => recalcTableHeight())
|
||||
})
|
||||
</script>
|
||||
|
||||
|
||||
@@ -2865,6 +2865,7 @@
|
||||
onActivated(() => {
|
||||
addAutoRefreshListeners()
|
||||
tryAutoRefresh()
|
||||
nextTick(() => recalcTableHeight())
|
||||
})
|
||||
|
||||
const removeAutoRefreshListeners = () => {
|
||||
|
||||
Reference in new issue
Block a user