DEV: little cleanup in the notifications-index component (PR #14464)

See commit messages for details.

GitHub

@jjaffeux we discussed these little fixes some time ago here and here. here and here.

Here is the second declaration of the same property.

Great thanks for following up