fix(overflow-menu): do not render title if using a slot #537

Fixes #537
This commit is contained in:
Eric Y Liu 2021-07-14 12:55:26 -07:00
commit 542200bf06

View file

@ -48,7 +48,7 @@
class: "bx--overflow-menu-options__btn",
disabled: href ? undefined : disabled,
href: href ? href : undefined,
title: requireTitle ? text : undefined,
title: requireTitle ? ($$slots.default ? undefined : text) : undefined,
};
</script>