Merge branch 'master' of github.com:Budibase/budibase

This commit is contained in:
Michael Shanks 2020-02-24 20:46:40 +00:00
commit 53c4e5b5e2
1 changed files with 7 additions and 6 deletions

View File

@ -16,11 +16,12 @@
}) })
</script> </script>
<div <div>
class="budibase__nav-item" <div
on:click={() => store.selectExistingNode(node.nodeId)} on:click={() => store.selectExistingNode(node.nodeId)}
class:selected={navActive}> class="budibase__nav-item"
<div style="padding-left: {20 + level * 20}px"> style="padding-left: {20 + level * 20}px"
class:selected={navActive}>
{@html getIcon(icon, 12)} {@html getIcon(icon, 12)}
<span style="margin-left: 1rem">{node.name}</span> <span style="margin-left: 1rem">{node.name}</span>
</div> </div>
@ -34,4 +35,4 @@
<svelte:self node={index} level={level + 1} type="index" /> <svelte:self node={index} level={level + 1} type="index" />
{/each} {/each}
{/if} {/if}
</div> </div>