From 971df674ec3745c1bb021330f0b1645939f9229c Mon Sep 17 00:00:00 2001
From: sualko
Date: Sat, 29 Aug 2020 09:29:43 +0200
Subject: [PATCH] feat: add room quota to manager
---
ts/Manager/App.tsx | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/ts/Manager/App.tsx b/ts/Manager/App.tsx
index e35fc1d..2a97133 100644
--- a/ts/Manager/App.tsx
+++ b/ts/Manager/App.tsx
@@ -152,7 +152,10 @@ const App: React.FC = () => {
t('bbb', 'You exceeded the maximum number of rooms.')
}
}
- |
+ |
+
+ {t('bbb', 'Room quota:')} {rooms.filter(room => room.userId === OC.currentUser).length} / {maxRooms}
+ |