Replace panel tileKey with a direct color prop.

Drop theme panelTiles keys and the ArticleView update callback wiring.
This commit is contained in:
seb
2026-08-05 18:38:21 +02:00
parent 1fda43b20d
commit 4ccc92c01f
15 changed files with 20 additions and 70 deletions

View File

@@ -29,7 +29,7 @@ export default class ArticleViewStock extends Component {
render() {
const { article: articleData } = this.props;
return (
<PanelTile wide={1} minHeight={SECOND_ROW_MIN_HEIGHT}>
<PanelTile wide={1} minHeight={SECOND_ROW_MIN_HEIGHT} color="#bbf7d0">
<PanelValue>
{articleData.stock != null ? formatStock(articleData.stock) : null}
</PanelValue>