Merge branch 'headerTabSize' into 'develop'
fix(client): initialize header tab sizing with webfont Co-authored-by: Eana Hufwe <eana@1a23.com> Closes #10943 See merge request firefish/firefish!11154
This commit is contained in:
commit
bc7ca8bc04
1 changed files with 2 additions and 1 deletions
|
@ -264,7 +264,8 @@ onMounted(() => {
|
|||
watch(
|
||||
() => [props.tab, props.tabs],
|
||||
() => {
|
||||
nextTick(() => {
|
||||
nextTick(async () => {
|
||||
await document.fonts.ready;
|
||||
if (props.tab == null) return;
|
||||
if (!isTabs(props.tabs)) return;
|
||||
const tabEl = tabRefs[props.tab];
|
||||
|
|
Loading…
Reference in a new issue