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

Commit eb37ca8

Browse files
committed
hotfix of calendar edition
1 parent f01842d commit eb37ca8

File tree

7 files changed

+10
-9
lines changed

7 files changed

+10
-9
lines changed

docs/docs/changelog.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
## 2.9.1
2+
- hotfix for 2.9.0. Not string editions typo fixed
13
## 2.9.0
24
### Shiny new things
35
- New search filters customize per type of content. You can enable/disable them in the header context menu.

manifest-beta.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"id": "dbfolder",
33
"name": "DB Folder",
4-
"version": "2.9.0",
4+
"version": "2.9.1",
55
"minAppVersion": "0.16.3",
66
"description": "Folder with the capability to store and retrieve data from a folder like database",
77
"author": "RafaelGB",

manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"id": "dbfolder",
33
"name": "DB Folder",
4-
"version": "2.9.0",
4+
"version": "2.9.1",
55
"minAppVersion": "0.16.3",
66
"description": "Folder with the capability to store and retrieve data from a folder like database",
77
"author": "RafaelGB",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "obsidian-dbfolder",
3-
"version": "2.9.0",
3+
"version": "2.9.1",
44
"description": "This is a sample plugin for Obsidian (https://obsidian.md)",
55
"main": "main.js",
66
"scripts": {

src/components/cellTypes/CalendarCell.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,15 @@ const CalendarCell = (calendarProps: CellComponentProps) => {
4343
setShowDatePicker(true);
4444
}
4545

46-
function handleCalendarChange(date: Date) {
46+
async function handleCalendarChange(date: Date) {
4747
const changed = date !== null ? DateTime.fromJSDate(date) : null;
4848
const newCell = ParseService.parseRowToLiteral(
4949
calendarRow,
5050
tableColumn,
5151
changed
5252
);
5353

54-
dataActions.updateCell(
54+
await dataActions.updateCell(
5555
row.index,
5656
tableColumn,
5757
newCell,

src/components/cellTypes/SelectCell.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,8 @@ const SelectCell = (popperProps: CellComponentProps) => {
8686
selectRow,
8787
tableColumn,
8888
selectValue
89-
)
90-
.toString()
91-
.replaceAll('"', "");
89+
);
90+
9291
// Update on disk & memory
9392
dataActions.updateCell(
9493
row.index,

src/stateManagement/data/handlers/UpdateCellHandlerAction.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export default class UpdateCellHandlerAction extends AbstractTableAction<DataSta
2323
let rowTFile = modifiedRow.__note__.getFile();
2424

2525
// Update the row on memory
26-
modifiedRow[column.key] = value.toString().replaceAll('"', "");
26+
modifiedRow[column.key] = value;
2727

2828
// Row Rules
2929
if (ddbbConfig.show_metadata_modified) {

0 commit comments

Comments
 (0)