mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-10-06 20:05:55 +08:00
Merge pull request #5577 from sboursen-scinote/sb_SCI-8626
Error at selecting one ZPL label template [SCI-8626]
This commit is contained in:
commit
db0363416c
1 changed files with 4 additions and 1 deletions
|
@ -92,7 +92,10 @@
|
||||||
this.buttonOverflow = false;
|
this.buttonOverflow = false;
|
||||||
|
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
if (!this.$el.getBoundingClientRect) return;
|
if (
|
||||||
|
!(this.$el.getBoundingClientRect &&
|
||||||
|
document.querySelector('.sn-action-toolbar__action:last-child'))
|
||||||
|
) return;
|
||||||
|
|
||||||
let containerRect = this.$el.getBoundingClientRect();
|
let containerRect = this.$el.getBoundingClientRect();
|
||||||
let lastActionRect = document.querySelector('.sn-action-toolbar__action:last-child').getBoundingClientRect();
|
let lastActionRect = document.querySelector('.sn-action-toolbar__action:last-child').getBoundingClientRect();
|
||||||
|
|
Loading…
Add table
Reference in a new issue