Drop tile titles and tileKey from article detail boxes.

This commit is contained in:
seb
2026-08-05 17:36:18 +02:00
parent 4352a02d4e
commit 0c12d99987
6 changed files with 2 additions and 21 deletions

View File

@@ -3,7 +3,6 @@ import { Link as RouterLink } from 'react-router-dom';
import Link from '@mui/material/Link';
import Typography from '@mui/material/Typography';
import { PanelTile } from '../../panels';
import { PANEL_TILE_KEYS } from '../../../theme';
import { artikelDetailPath } from '../../../pages/artikel/articleRoute';
class CountLine extends Component {
@@ -40,7 +39,7 @@ export default class ArticleViewLists extends Component {
render() {
const { article: articleData } = this.props;
return (
<PanelTile wide={1} tileKey={PANEL_TILE_KEYS.lists} title="Listen" minHeight={200}>
<PanelTile wide={1} minHeight={200}>
<RelationLine label="Vaterartikel" active={articleData.childCount > 0}>
{articleData.childCount}
</RelationLine>