mirror of
https://github.com/zadam/trilium.git
synced 2025-11-14 18:39:01 +01:00
chore: remove unnecessary console.log
This commit is contained in:
parent
0c954322e4
commit
5aec9229d4
@ -28,7 +28,7 @@ export default function CollectionPropertiesTab({ note }: TabContext) {
|
|||||||
const defaultViewType = (note?.type === "search" ? "list" : "grid");
|
const defaultViewType = (note?.type === "search" ? "list" : "grid");
|
||||||
const viewTypeWithDefault = (viewType ?? defaultViewType) as ViewTypeOptions;
|
const viewTypeWithDefault = (viewType ?? defaultViewType) as ViewTypeOptions;
|
||||||
const properties = bookPropertiesConfig[viewTypeWithDefault].properties;
|
const properties = bookPropertiesConfig[viewTypeWithDefault].properties;
|
||||||
console.warn('CollectionPropertiesTab:', properties)
|
|
||||||
return (
|
return (
|
||||||
<div className="book-properties-widget">
|
<div className="book-properties-widget">
|
||||||
{note && (
|
{note && (
|
||||||
@ -137,7 +137,7 @@ function NumberPropertyView({ note, property }: { note: FNote, property: NumberP
|
|||||||
|
|
||||||
function ComboBoxPropertyView({ note, property }: { note: FNote, property: ComboBoxProperty }) {
|
function ComboBoxPropertyView({ note, property }: { note: FNote, property: ComboBoxProperty }) {
|
||||||
const [ value, setValue ] = useNoteLabel(note, property.bindToLabel);
|
const [ value, setValue ] = useNoteLabel(note, property.bindToLabel);
|
||||||
console.warn('ComboBoxPropertyView:', value)
|
|
||||||
return (
|
return (
|
||||||
<LabelledEntry label={property.label}>
|
<LabelledEntry label={property.label}>
|
||||||
<FormSelectWithGroups
|
<FormSelectWithGroups
|
||||||
@ -150,7 +150,6 @@ function ComboBoxPropertyView({ note, property }: { note: FNote, property: Combo
|
|||||||
}
|
}
|
||||||
|
|
||||||
function LabelledEntry({ label, children }: { label: string, children: ComponentChildren }) {
|
function LabelledEntry({ label, children }: { label: string, children: ComponentChildren }) {
|
||||||
console.warn('LabelledEntry:', label)
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<label>
|
<label>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user