Skip to content

Build your personal knowledge base with Trilium Notes

feat(collections/dashboard): mark as beta

Elian Doran2e686cfaa2bd
diff --git a/apps/client/src/widgets/note_bars/CollectionProperties.tsx b/apps/client/src/widgets/note_bars/CollectionProperties.tsx
index bf85dc9c0d..207d2a7387 100644
--- a/apps/client/src/widgets/note_bars/CollectionProperties.tsx
+++ b/apps/client/src/widgets/note_bars/CollectionProperties.tsx
@@ -4,8 +4,8 @@ import { t } from "i18next";
import { ComponentChildren } from "preact";
import { useRef, useState } from "preact/hooks";
-import FNote from "../../entities/fnote";
import appContext from "../../components/app_context";
+import FNote from "../../entities/fnote";
import dialogService from "../../services/dialog";
import { ViewTypeOptions } from "../collections/interface";
import ActionButton from "../react/ActionButton";
@@ -125,6 +125,7 @@ function ViewTypeSwitcher({ viewType, setViewType }: { viewType: ViewTypeOptions
selected={viewType === key}
disabled={viewType === key}
icon={ICON_MAPPINGS[key as ViewTypeOptions]}
+ badges={key === "dashboard" ? [{ text: t("note_types.beta-feature") }] : undefined}
>{label}</FormListItem>
))}
</Dropdown>