From d2a54d88bbfc71b86ba4a0aafa6e45716cf13985 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krzysztof=20S=C5=82ysz?= Date: Tue, 17 Nov 2026 21:52:19 +0100 Subject: [PATCH] - the enum items window has a footer with the number of items (the list ended at the bottom edge after removing the pages) --- frontend/src/components/dialogs/EditEnumDialog.jsx | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/frontend/src/components/dialogs/EditEnumDialog.jsx b/frontend/src/components/dialogs/EditEnumDialog.jsx index 005b5fc..ede6f05 100644 --- a/frontend/src/components/dialogs/EditEnumDialog.jsx +++ b/frontend/src/components/dialogs/EditEnumDialog.jsx @@ -2,6 +2,7 @@ import React, {createRef, useState} from 'react'; import { Button, Dialog, + DialogActions, DialogContent as MuiDialogContent, DialogTitle as MuiDialogTitle, IconButton, @@ -9,6 +10,7 @@ import { MenuItem, styled, Tooltip, + Typography, useTheme } from '@mui/material'; import { @@ -258,6 +260,13 @@ export default function EditEnumDialog(props) { sortItems('text', true)}>Text: Z → A + {/* the footer closes the list (no pagination any more); the height of the former pagination, which + getDialogTableHeight leaves for it */} + + + {data.length === 1 ? '1 item' : `${data.length} items`} + +