fix: Fix tags overflow handler in workflows header (#6784)

* fix: fix tags container overflowing

* fix: fix intersection observer error
This commit is contained in:
Alex Grozav
2023-07-31 15:17:05 +03:00
committed by GitHub
parent dc295ac5bf
commit 7cd45885bf
4 changed files with 56 additions and 19 deletions

View File

@@ -54,7 +54,9 @@ export default defineComponent({
this.observer = observer;
this.eventBus.on('observe', (observed: Element) => {
observer.observe(observed);
if (observed) {
observer.observe(observed);
}
});
this.eventBus.on('unobserve', (observed: Element) => {