mirror of
https://github.com/rowyio/rowy.git
synced 2025-12-29 00:16:39 +01:00
update Reference field icon
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { lazy } from "react";
|
||||
import { IFieldConfig, FieldType } from "@src/components/fields/types";
|
||||
|
||||
import SingleSelectIcon from "@src/assets/icons/SingleSelect";
|
||||
import { FileLinkOutline } from "mdi-material-ui";
|
||||
//import InlineCell from "./InlineCell";
|
||||
import BasicCell from "./BasicCell";
|
||||
import { filterOperators } from "@src/components/fields/ShortText/Filter";
|
||||
@@ -27,7 +27,7 @@ export const config: IFieldConfig = {
|
||||
dataType: "reference",
|
||||
initialValue: null,
|
||||
initializable: true,
|
||||
icon: <SingleSelectIcon />,
|
||||
icon: <FileLinkOutline />,
|
||||
description: "Firestore document reference",
|
||||
TableCell: withBasicCell(BasicCell),
|
||||
TableEditor: EditorCell,
|
||||
|
||||
@@ -25,9 +25,9 @@ import Image_ from "./Image";
|
||||
import File_ from "./File";
|
||||
import Connector from "./Connector";
|
||||
import SubTable from "./SubTable";
|
||||
import Reference from "./Reference";
|
||||
import ConnectTable from "./ConnectTable";
|
||||
import ConnectService from "./ConnectService";
|
||||
import Reference from "./Reference";
|
||||
import Json from "./Json";
|
||||
import Code from "./Code";
|
||||
import Action from "./Action";
|
||||
@@ -71,9 +71,9 @@ export const FIELDS: IFieldConfig[] = [
|
||||
/** CONNECTION */
|
||||
Connector,
|
||||
SubTable,
|
||||
Reference,
|
||||
ConnectTable,
|
||||
ConnectService,
|
||||
Reference,
|
||||
/** CODE */
|
||||
Json,
|
||||
Code,
|
||||
|
||||
@@ -25,11 +25,11 @@ export enum FieldType {
|
||||
image = "IMAGE",
|
||||
file = "FILE",
|
||||
// CONNECTION
|
||||
subTable = "SUB_TABLE",
|
||||
connector = "CONNECTOR",
|
||||
subTable = "SUB_TABLE",
|
||||
reference = "REFERENCE",
|
||||
connectTable = "DOCUMENT_SELECT",
|
||||
connectService = "SERVICE_SELECT",
|
||||
reference = "REFERENCE",
|
||||
// CODE
|
||||
json = "JSON",
|
||||
code = "CODE",
|
||||
|
||||
@@ -8,11 +8,11 @@ import reportWebVitals from "./reportWebVitals";
|
||||
const container = document.getElementById("root")!;
|
||||
const root = createRoot(container);
|
||||
root.render(
|
||||
<StrictMode>
|
||||
<Providers>
|
||||
<App />
|
||||
</Providers>
|
||||
</StrictMode>
|
||||
// <StrictMode>
|
||||
<Providers>
|
||||
<App />
|
||||
</Providers>
|
||||
// </StrictMode>
|
||||
);
|
||||
|
||||
// If you want to start measuring performance in your app, pass a function
|
||||
|
||||
Reference in New Issue
Block a user