1
0
Fork 0
mirror of https://github.com/binwiederhier/ntfy.git synced 2025-08-14 21:44:04 +02:00

Revert home page to existing page

This commit is contained in:
binwiederhier 2023-01-21 08:55:31 -05:00
parent 31a3bb7cd6
commit 5b14c76e54
10 changed files with 66 additions and 255 deletions
web/src/components

View file

@ -74,7 +74,7 @@ const UpgradeDialog = (props) => {
// Exceptional conditions
if (loading) {
submitAction = null;
} else if (newTier?.code && account?.reservations.length > newTier?.limits.reservations) {
} else if (newTier?.code && account?.reservations?.length > newTier?.limits?.reservations) {
submitAction = null;
banner = Banner.RESERVATIONS_WARNING;
}