Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ All notable changes to this project are documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/).

## [1.0.2] - 2026-10-04

### Fixed

- The spending summary showed the text "null" under the total when all subscriptions use the same currency.

## [1.0.1] - 2026-10-04

### Fixed
Expand Down
10 changes: 7 additions & 3 deletions js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
'use strict';
const ST = g.ST;
const { db, schedule, catalog, i18n, ui, reminders } = ST;
const { h, icon, logo, sheet, toast, haptic } = ui;
const { h, append, icon, logo, sheet, toast, haptic } = ui;
const t = (...a) => i18n.t(...a);

const state = {
Expand Down Expand Up @@ -189,13 +189,17 @@
},
})));

$('summary').replaceChildren(
// ui.append skips null children; native replaceChildren() would render
// a missing note as the text "null".
$('summary').replaceChildren();
append($('summary'), [
h('div', { class: 'summary-top' },
h('p', { class: 'summary-label', text: t(yearly ? 'summary.yearly' : 'summary.monthly') }),
seg),
amount,
extra,
h('p', { class: 'summary-count', text: i18n.tp('summary.active', activeCount) }));
h('p', { class: 'summary-count', text: i18n.tp('summary.active', activeCount) }),
]);
}

function renderUpcoming(rows) {
Expand Down
2 changes: 1 addition & 1 deletion js/core/version.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
(function (g) {
'use strict';
const ST = (g.ST = g.ST || {});
ST.VERSION = '1.0.1';
ST.VERSION = '1.0.2';
ST.REPO_URL = 'https://github.com/lestolo/subscription-tracker';
})(typeof self !== 'undefined' ? self : globalThis);
Loading