From dccbbc0885fdd248c644a253fbc5eec37100d723 Mon Sep 17 00:00:00 2001 From: Yann Stepienik Date: Mon, 26 Jun 2023 13:17:11 +0100 Subject: [PATCH] [release] v0.8.7 --- changelog.md | 1 + client/src/pages/home/index.jsx | 2 ++ package.json | 2 +- src/utils/types.go | 1 + 4 files changed, 5 insertions(+), 1 deletion(-) diff --git a/changelog.md b/changelog.md index 2044f17..6b7ad2d 100644 --- a/changelog.md +++ b/changelog.md @@ -9,6 +9,7 @@ - Improved setup flow for setting up hostname and HTTPS - Fixed auto-update on ARM based CPU - Fix issue with email links + - HideFromDashboard option on routes ## Version 0.8.0 - Custmizable homepage / theme colors diff --git a/client/src/pages/home/index.jsx b/client/src/pages/home/index.jsx index 24ae050..d933847 100644 --- a/client/src/pages/home/index.jsx +++ b/client/src/pages/home/index.jsx @@ -332,6 +332,8 @@ const HomePage = () => { skip = true } } + if (route.HideFromDashboard) + skip = true; return !skip && diff --git a/package.json b/package.json index bf40688..7746bb7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cosmos-server", - "version": "0.8.6", + "version": "0.8.7", "description": "", "main": "test-server.js", "bugs": { diff --git a/src/utils/types.go b/src/utils/types.go index b251c43..442c9e6 100644 --- a/src/utils/types.go +++ b/src/utils/types.go @@ -165,6 +165,7 @@ type ProxyRouteConfig struct { BlockCommonBots bool BlockAPIAbuse bool AcceptInsecureHTTPSTarget bool + HideFromDashboard bool } type EmailConfig struct {