mirror of
https://github.com/docmost/docmost.git
synced 2026-08-29 10:05:03 +08:00
feat(base): add Formula entry to the property type picker
This commit is contained in:
@@ -17,6 +17,7 @@ import {
|
|||||||
IconUserEdit,
|
IconUserEdit,
|
||||||
IconCheck,
|
IconCheck,
|
||||||
IconSearch,
|
IconSearch,
|
||||||
|
IconMathFunction,
|
||||||
} from "@tabler/icons-react";
|
} from "@tabler/icons-react";
|
||||||
import { BasePropertyType } from "@/features/base/types/base.types";
|
import { BasePropertyType } from "@/features/base/types/base.types";
|
||||||
import { useTranslation } from "react-i18next";
|
import { useTranslation } from "react-i18next";
|
||||||
@@ -43,6 +44,7 @@ const propertyTypes: {
|
|||||||
{ type: "createdAt", icon: IconClockPlus, labelKey: "Created at" },
|
{ type: "createdAt", icon: IconClockPlus, labelKey: "Created at" },
|
||||||
{ type: "lastEditedAt", icon: IconClockEdit, labelKey: "Last edited at" },
|
{ type: "lastEditedAt", icon: IconClockEdit, labelKey: "Last edited at" },
|
||||||
{ type: "lastEditedBy", icon: IconUserEdit, labelKey: "Last edited by" },
|
{ type: "lastEditedBy", icon: IconUserEdit, labelKey: "Last edited by" },
|
||||||
|
{ type: "formula", icon: IconMathFunction, labelKey: "Formula" },
|
||||||
];
|
];
|
||||||
|
|
||||||
type PropertyTypePickerProps = {
|
type PropertyTypePickerProps = {
|
||||||
|
|||||||
Reference in New Issue
Block a user