HomePhabricator

Follow-up f9e8c5057, 983c7a2463: fix JS error when there are no notifications

This commit no longer exists in the repository. It may have been part of a branch which was deleted.This commit has been deleted in the repository: it is no longer reachable from any branch, tag, or ref.

Description

Follow-up f9e8c5057, 983c7a2463: fix JS error when there are no notifications

We have to account for the placeholder item, which doesn't have a
getModel method. We should ensure the real items and the placeholder
item implement a common interface so we don't need these kinds of
checks all over the place.

Bug: T114853
Change-Id: Iff6f0e85fb7737e09a34e72038b6b41681d95595
(cherry picked from commit cacccc307a87c3ce563d33382c380c2caf67b066)

Details

Provenance
CatropeAuthored on
ChangeId
Iff6f0e85fb7737e09a34e72038b6b41681d95595

Commit No Longer Exists

This commit no longer exists in the repository.