Skip to content

UpdatesPage: Fix update chagelog when opening details

Ismael Asensio requested to merge work/iasensio/fetch-flatpak-changelog into master

Unlike the Component object, the attached property Component does not have the status property, so checking it would always fail and not trigger fetching the changelog

BUG: 500776
FIXED-IN: 6.3.3

This check was added on !981 (merged) which automatically expands the delegates it the update requires new permissions.

I haven't been able to test on the original case with new permissions, but by unconditionally expanding the delegates in the same place, and it doesn't seem to have any negative impact.

UpdateItem::UpdateItem(AbstractResource *app)
: m_app(app)
{
    // setExtended(app->updateNeedsAttention());
    setExtended(true);
}

Merge request reports

Loading