Improve naming consistency
This commit is contained in:
parent
98c91a005d
commit
46fa157dea
|
@ -43,7 +43,7 @@
|
||||||
await save([...e.detail])
|
await save([...e.detail])
|
||||||
}
|
}
|
||||||
|
|
||||||
const addLink = async () => {
|
const addNavItem = async () => {
|
||||||
await save([
|
await save([
|
||||||
...navItems,
|
...navItems,
|
||||||
{
|
{
|
||||||
|
@ -76,7 +76,7 @@
|
||||||
/>
|
/>
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
<div class="list-footer" on:click={addLink} class:empty={!navItems.length}>
|
<div class="list-footer" on:click={addNavItem} class:empty={!navItems.length}>
|
||||||
<div class="add-button">Add nav item</div>
|
<div class="add-button">Add nav item</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue