[BUG] Navigation item Administration, in header is a link that wrapps a button #1491

Closed
opened 2026-02-05 02:04:07 +03:00 by OVERLORD · 0 comments
Owner

Originally created by @BogdanCerovac on GitHub (Oct 21, 2023).

The bug

Seems like we only need a link and we can drop the button in the HTML.

Instead we need to show text "Administration" or SVG icon on sm screens.

Code that needs to be fixed: e0fc6b753c/web/src/lib/components/shared-components/navigation-bar/navigation-bar.svelte (L79)

The OS that Immich Server is running on

Any

Version of Immich Server

Latest

Version of Immich Mobile App

Latest

Platform with the issue

  • Server
  • Web
  • Mobile

Your docker-compose.yml content

Not relevant

Your .env content

Not relevant

Reproduction steps

1. open demo on https://demo.immich.app/photos
2. open browsers developer tools 
3. check code in the header navigation that is responsible for "Administration" item (on full size desktop with no zoom)
4. check same code with narrower view (simulate mobile device or zoom in)

Additional information

No response

Originally created by @BogdanCerovac on GitHub (Oct 21, 2023). ### The bug Seems like we only need a link and we can drop the button in the HTML. Instead we need to show text "Administration" or SVG icon on sm screens. Code that needs to be fixed: https://github.com/immich-app/immich/blob/e0fc6b753cea9195de8079ecc9df312418a282d9/web/src/lib/components/shared-components/navigation-bar/navigation-bar.svelte#L79 ### The OS that Immich Server is running on Any ### Version of Immich Server Latest ### Version of Immich Mobile App Latest ### Platform with the issue - [ ] Server - [X] Web - [ ] Mobile ### Your docker-compose.yml content ```YAML Not relevant ``` ### Your .env content ```Shell Not relevant ``` ### Reproduction steps ```bash 1. open demo on https://demo.immich.app/photos 2. open browsers developer tools 3. check code in the header navigation that is responsible for "Administration" item (on full size desktop with no zoom) 4. check same code with narrower view (simulate mobile device or zoom in) ``` ### Additional information _No response_
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#1491