mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-03-07 05:03:26 +08:00
Merge pull request #6721 from lasniscinote/gl_SCI_9755
(fix) TypeErrors in 'Assign to task' dialog [SCI-9755]
This commit is contained in:
commit
d9c7a47dfd
1 changed files with 2 additions and 2 deletions
|
@ -21,7 +21,7 @@
|
|||
class="sn-select__options !relative !top-0 !left-[-1px] !shadow-none scroll-container px-2.5 pt-0 block"
|
||||
:class="{ [optionsClassName]: true }"
|
||||
>
|
||||
|
||||
|
||||
<div v-if="options.length" class="flex flex-col gap-[1px]">
|
||||
<div
|
||||
v-for="option in options"
|
||||
|
@ -80,7 +80,7 @@
|
|||
return option && option[1];
|
||||
},
|
||||
focusElement() {
|
||||
return this.$refs.focusElement || this.$scopedSlots.default()[0].context.$refs.focusElement;
|
||||
return this.$refs.focusElement || this.$parent.$refs.focusElement;
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
|
|
Loading…
Reference in a new issue