feat: add room quota to manager

pull/67/head
sualko 2020-08-29 09:29:43 +02:00
parent 95aa5a3eac
commit 971df674ec
1 changed files with 4 additions and 1 deletions

View File

@ -152,7 +152,10 @@ const App: React.FC<Props> = () => {
t('bbb', 'You exceeded the maximum number of rooms.')
}</p>}
</td>
<td colSpan={4} />
<td />
<td colSpan={3}>
<p className="text-muted">{t('bbb', 'Room quota:')} {rooms.filter(room => room.userId === OC.currentUser).length} / {maxRooms}</p>
</td>
</tr>
</tfoot>
</table>