forked from tsai/budibase
31 changed files with 42 additions and 59 deletions
@ -1,20 +0,0 @@ |
|||||
<script> |
|
||||
import { isActive, url, goto } from "@sveltech/routify" |
|
||||
|
|
||||
export let label = "" |
|
||||
export let href |
|
||||
</script> |
|
||||
|
|
||||
<div |
|
||||
on:click={() => $goto(href)} |
|
||||
class="budibase__nav-item backend-nav-item" |
|
||||
class:selected={$isActive(href)}> |
|
||||
{label} |
|
||||
</div> |
|
||||
|
|
||||
<style> |
|
||||
.backend-nav-item { |
|
||||
padding-left: 25px; |
|
||||
cursor: pointer; |
|
||||
} |
|
||||
</style> |
|
||||
Loading…
Reference in new issue