notifications: fix bug where if the libitem disappeared, we would show all notifications
@@ -104,6 +104,8 @@ impl<Env: Environment + 'static> UpdateWithCtx<Ctx<Env>> for Notifications {
.last_vid_released
.map_or(false, |lvr| v.released > lvr)
});
+ } else {
+ item.videos = vec![];
}
}
}
