mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-11-09 16:01:30 +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="sn-select__options !relative !top-0 !left-[-1px] !shadow-none scroll-container px-2.5 pt-0 block"
|
||||||
:class="{ [optionsClassName]: true }"
|
:class="{ [optionsClassName]: true }"
|
||||||
>
|
>
|
||||||
|
|
||||||
<div v-if="options.length" class="flex flex-col gap-[1px]">
|
<div v-if="options.length" class="flex flex-col gap-[1px]">
|
||||||
<div
|
<div
|
||||||
v-for="option in options"
|
v-for="option in options"
|
||||||
|
|
@ -80,7 +80,7 @@
|
||||||
return option && option[1];
|
return option && option[1];
|
||||||
},
|
},
|
||||||
focusElement() {
|
focusElement() {
|
||||||
return this.$refs.focusElement || this.$scopedSlots.default()[0].context.$refs.focusElement;
|
return this.$refs.focusElement || this.$parent.$refs.focusElement;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue