mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-01-23 00:56:23 +01:00
Only show compose button when logged in
This commit is contained in:
parent
dafcccf093
commit
4aeaeb229c
1 changed files with 17 additions and 15 deletions
|
@ -266,6 +266,7 @@ function App() {
|
|||
</Routes>
|
||||
)}
|
||||
<div>
|
||||
{isLoggedIn && (
|
||||
<button
|
||||
type="button"
|
||||
id="compose-button"
|
||||
|
@ -283,6 +284,7 @@ function App() {
|
|||
>
|
||||
<Icon icon="quill" size="xl" alt="Compose" />
|
||||
</button>
|
||||
)}
|
||||
{isLoggedIn &&
|
||||
!snapStates.settings.shortcutsColumnsMode &&
|
||||
snapStates.settings.shortcutsViewMode !== 'multi-column' && (
|
||||
|
|
Loading…
Reference in a new issue