Skip to content

Commit

Permalink
nits
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenfiszel committed Nov 7, 2024
1 parent 7da4434 commit 2ee8343
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
export let allowCopy = false
export let alwaysOn = false
$: previousId = pickableProperties?.previousId
let variables: Record<string, string> = {}
let resources: Record<string, any> = {}
let displayVariable = false
Expand Down
24 changes: 13 additions & 11 deletions frontend/src/lib/components/sidebar/WorkspaceMenu.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -75,17 +75,19 @@
</MenuItem>
{/each}
</div>
<div class="py-1" role="none">
<a
href="{base}/user/create_workspace"
class="text-primary px-4 py-2 text-xs hover:bg-surface-hover hover:text-primary flex flex-flow gap-2"
role="menuitem"
tabindex="-1"
>
<Plus size={16} />
Workspace
</a>
</div>
{#if isCloudHosted() || $superadmin}
<div class="py-1" role="none">
<a
href="{base}/user/create_workspace"
class="text-primary px-4 py-2 text-xs hover:bg-surface-hover hover:text-primary flex flex-flow gap-2"
role="menuitem"
tabindex="-1"
>
<Plus size={16} />
Workspace
</a>
</div>
{/if}
<div class="py-1" role="none">
<a
href="{base}/user/workspaces"
Expand Down

0 comments on commit 2ee8343

Please sign in to comment.