Merge pull request #6721 from lasniscinote/gl_SCI_9755

(fix) TypeErrors in 'Assign to task' dialog [SCI-9755]
This commit is contained in:
Martin Artnik 2023-11-27 17:25:10 +01:00 committed by GitHub
commit d9c7a47dfd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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() {