fix: fix getting last blurb id

This commit is contained in:
Andy Burke 2025-09-26 10:24:20 -07:00
parent b6f661c6ec
commit 8c5d81f293

View file

@ -232,7 +232,7 @@
return blurb.id > _last_blurb_id && blurb.id.indexOf("TEMP") < 0 return blurb.id > _last_blurb_id && blurb.id.indexOf("TEMP") < 0
? blurb.id ? blurb.id
: _last_blurb_id; : _last_blurb_id;
}, blurb_list.dataset.last_blurb_id ?? ""); }, blurbs_list.dataset.last_blurb_id ?? "");
// if the last blurb has been updated, update the content's dataset to reflect that // if the last blurb has been updated, update the content's dataset to reflect that
if (last_blurb_id !== blurbs_list.dataset.last_blurb_id) { if (last_blurb_id !== blurbs_list.dataset.last_blurb_id) {