Skip to content
This repository was archived by the owner on Jul 28, 2025. It is now read-only.

Commit 1a7bd46

Browse files
committed
fix #188
1 parent 825c087 commit 1a7bd46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/reducers/DatabaseDispatch.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ import { obtainUniqueOptionValues } from "helpers/SelectHelper";
2626
import { Literal } from "obsidian-dataview/lib/data-model/value";
2727
import { DateTime } from "luxon";
2828
import { RowSelectOption } from "cdm/ComponentsModel";
29-
import { viewport } from "@popperjs/core";
3029

3130
export function databaseReducer(state: TableDataType, action: ActionType) {
3231
LOGGER.debug(`<=>databaseReducer action: ${action.type}`, action);
@@ -87,6 +86,7 @@ export function databaseReducer(state: TableDataType, action: ActionType) {
8786
const metadata: Record<string, Literal> = {};
8887
metadata[MetadataColumns.CREATED] = DateTime.now();
8988
metadata[MetadataColumns.MODIFIED] = DateTime.now();
89+
metadata[MetadataColumns.TASKS] = ""; // Represents the tasks for the row as empty
9090
const row: RowDataType = {
9191
...rowRecord.frontmatter,
9292
...rowRecord.inline,

0 commit comments

Comments
 (0)