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

Commit cb16610

Browse files
committed
separators
1 parent 13aa312 commit cb16610

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/components/obsidianArq/commands.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ export function showFooterMenu(
118118
// Custom footer menu im function of the input type
119119
switch (tableColumn.input) {
120120
case InputType.NUMBER:
121+
footerMenu.addSeparator();
121122
footerMenu.addItem((item) => item
122123
.setTitle(t("footer_menu_sum"))
123124
.onClick(handleFooterOption(FooterType.SUM)));
@@ -130,6 +131,7 @@ export function showFooterMenu(
130131
break;
131132
case InputType.CALENDAR:
132133
case InputType.CALENDAR_TIME:
134+
footerMenu.addSeparator();
133135
footerMenu.addItem((item) => item
134136
.setTitle(t("footer_menu_earliest_date"))
135137
.onClick(handleFooterOption(FooterType.EARLIEST_DATE)));
@@ -143,6 +145,7 @@ export function showFooterMenu(
143145
default:
144146
// Do nothing
145147
}
148+
footerMenu.addSeparator();
146149
// Create your own footer function
147150
footerMenu.addItem((item) => item
148151
.setTitle(t("footer_menu_formula"))

0 commit comments

Comments
 (0)