aboutsummaryrefslogtreecommitdiff
path: root/static/widgets/month-select/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'static/widgets/month-select/index.js')
-rw-r--r--static/widgets/month-select/index.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/static/widgets/month-select/index.js b/static/widgets/month-select/index.js
index 6ffbac2..63caf70 100644
--- a/static/widgets/month-select/index.js
+++ b/static/widgets/month-select/index.js
@@ -70,5 +70,16 @@ export default class MonthSelect extends sfw.element.Container {
last = month;
}
+
+ this.#month_container.append(
+ Div.new({
+ className: 'month-item none',
+ innerText: 'No Date',
+ onclick: () => {
+ this.hide();
+ this.onmonth(null);
+ }
+ })
+ );
}
}