mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 19:46:36 +00:00
feat(UIShell): only render hamburger menu if SideNav exists
This commit is contained in:
parent
a8ef7b6f3f
commit
01970d361a
3 changed files with 8 additions and 1 deletions
|
@ -10,6 +10,9 @@
|
|||
|
||||
/** Set to `true` to toggle the expanded state */
|
||||
export let isOpen = false;
|
||||
|
||||
import { shouldRenderHamburgerMenu } from "../navStore";
|
||||
shouldRenderHamburgerMenu.set(true);
|
||||
</script>
|
||||
|
||||
{#if fixed}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue