Skip to content

Commit

Permalink
Remove settings when DISABLE_NEW=TRUE
Browse files Browse the repository at this point in the history
  • Loading branch information
teakivy committed Dec 8, 2024
1 parent 4bff850 commit 1ad7ed8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/Toolbar.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
<toolbar>
<button id="main" on:click={home}>{$title.toUpperCase()}</button>
<buttons>
<button on:click={settings}>SETTINGS</button>
{#if !$disableNew}
<button on:click={settings}>SETTINGS</button>
<button on:click={newPaste}>NEW</button>
{/if}
</buttons>
Expand Down

0 comments on commit 1ad7ed8

Please sign in to comment.