mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 11:36:36 +00:00
fix(overflow-menu): do not render title if using a slot #537
Fixes #537
This commit is contained in:
parent
4f1bd87a23
commit
542200bf06
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@
|
||||||
class: "bx--overflow-menu-options__btn",
|
class: "bx--overflow-menu-options__btn",
|
||||||
disabled: href ? undefined : disabled,
|
disabled: href ? undefined : disabled,
|
||||||
href: href ? href : undefined,
|
href: href ? href : undefined,
|
||||||
title: requireTitle ? text : undefined,
|
title: requireTitle ? ($$slots.default ? undefined : text) : undefined,
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue