Skip to content

Commit

Permalink
fix: change default version display to icon_hover
Browse files Browse the repository at this point in the history
  • Loading branch information
MauriceNino committed Jan 19, 2024
1 parent 4f81ab6 commit fdc89a3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions apps/docs/docs/config/ui-features.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ If you want to show the host part in the server widget (e.g. `dash.` -> `dash.ma

If you want to show the version number of your dash. instance on the bottom right of the page, or alternatively on the GitHub icon (hover).

The available options are: `bottom_right`, `icon_hover`.
The available options are: `bottom_right`, `icon_hover` and `none`.

- type: `string`
- default: `unset`
- default: `icon_hover`

| `bottom_right` | `icon_hover` |
| --------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- |
Expand Down
2 changes: 1 addition & 1 deletion apps/server/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export const CONFIG: Config = {
fs_virtual_mounts: lst(penv('FS_VIRTUAL_MOUNTS') ?? ''),
disable_integrations: penv('DISABLE_INTEGRATIONS') === 'true',

show_dash_version: penv('SHOW_DASH_VERSION') as any,
show_dash_version: (penv('SHOW_DASH_VERSION') as any) ?? 'icon_hover',
show_host: penv('SHOW_HOST') === 'true',
custom_host: penv('CUSTOM_HOST'),
page_title: penv('PAGE_TITLE') ?? 'dash.',
Expand Down
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ services:
environment:
- DASHDOT_ENABLE_CPU_TEMPS=true
- DASHDOT_SPEED_TEST_FROM_PATH=/app/speedtest_result
- DASHDOT_SHOW_DASH_VERSION=none
ports:
- 3000:3000 # view
- 3001:3001 # server
Expand Down

0 comments on commit fdc89a3

Please sign in to comment.