Skip to content

Commit

Permalink
remove from tab_group, add to tooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
ninamarina committed Oct 2, 2024
1 parent 481e601 commit 643cb50
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 0 additions & 2 deletions packages/dialtone-vue3/components/tabs/tab_group.vue
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
</template>

<script>
import { warnIfUnmounted } from '@/common/utils';
import {
TAB_LIST_SIZES,
TAB_LIST_KIND_MODIFIERS,
Expand Down Expand Up @@ -172,7 +171,6 @@ export default {
mounted () {
this.updateSelected();
warnIfUnmounted(this.$el, this.$options.name);
},
beforeUpdate () {
Expand Down
3 changes: 2 additions & 1 deletion packages/dialtone-vue3/components/tooltip/tooltip.vue
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ import {
import {
POPOVER_APPEND_TO_VALUES,
} from '../popover/popover_constants';
import { flushPromises, getUniqueString, hasSlotContent } from '@/common/utils';
import { flushPromises, getUniqueString, hasSlotContent, warnIfUnmounted } from '@/common/utils';
import {
createTippy,
getAnchor,
Expand Down Expand Up @@ -362,6 +362,7 @@ export default {
await flushPromises();
this.addExternalAnchorEventListeners();
}
warnIfUnmounted(this.$el, this.$options.name);
},
beforeUnmount () {
Expand Down
1 change: 1 addition & 0 deletions packages/dialtone-vue3/directives/tooltip/tooltip.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ describe('DtTooltipDirective Tests', () => {
},
plugins: [DtTooltipDirective],
},
attachTo: document.body,
});

anchor = wrapper.find('button');
Expand Down

0 comments on commit 643cb50

Please sign in to comment.