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

Commit 72a95e0

Browse files
committed
rollup subscribe state
1 parent 6f094fa commit 72a95e0

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

src/components/cellTypes/RollupCell.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ const RollupCell = (mdProps: CellComponentProps) => {
6767
);
6868
}
6969
}
70-
}, [cell, row, column]);
70+
}, [relation]);
7171
return (
7272
<span
7373
ref={formulaRef}

src/components/modals/columnSettings/handlers/automations/FormulaInputHandler.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,13 @@ export class FormulaInputHandler extends AbstractHandlerClass<ColumnSettingsHand
4343
textArea.setPlaceholder(t("column_settings_modal_formula_input_textarea_placeholder"));
4444
textArea.onChange(formula_promise);
4545
textArea.inputEl.addClass(c("textarea-setting"));
46+
textArea.inputEl.onkeydown = (e: KeyboardEvent) => {
47+
switch (e.key) {
48+
case "Enter":
49+
e.preventDefault();
50+
break;
51+
}
52+
};
4653

4754
});
4855
const mainDesc = containerEl.createEl('p');

src/stateManagement/data/handlers/UpdateCellHandlerAction.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export default class UpdateCellHandlerAction extends AbstractTableAction<DataSta
1919
columns: TableColumn[],
2020
ddbbConfig: LocalSettings,
2121
isMovingFile?: boolean,
22-
saveOnDisk = false) => {
22+
saveOnDisk = true) => {
2323
const modifiedRow = get().rows[rowIndex];
2424
let rowTFile = modifiedRow.__note__.getFile();
2525

0 commit comments

Comments
 (0)