Skip to content

Commit

Permalink
Update appkit
Browse files Browse the repository at this point in the history
  • Loading branch information
owi92 committed Jan 11, 2024
1 parent 7f74c96 commit e8f5350
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
8 changes: 4 additions & 4 deletions frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"@babel/preset-typescript": "^7.22.15",
"@emotion/cache": "^11.11.0",
"@emotion/react": "^11.11.1",
"@opencast/appkit": "^0.1.4",
"@opencast/appkit": "^0.2.3",
"@svgr/webpack": "^8.1.0",
"babel-loader": "^9.1.3",
"babel-plugin-relay": "^15.0.0",
Expand Down
6 changes: 4 additions & 2 deletions frontend/src/ui/Blocks/Series.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -416,8 +416,9 @@ const List: React.FC<ListProps> = ({ type, close }) => {
key={`${itemId}-${view}`}
disabled={viewState === view}
Icon={icon}
onClick={() => setViewState(view)}
{...sharedProps(view)}
{...itemProps(index, () => setViewState(view))}
{...itemProps(index)}
/>)}
</ul>
</>,
Expand All @@ -427,8 +428,9 @@ const List: React.FC<ListProps> = ({ type, close }) => {
{orderItems.map(([order, orderKey], index) => <MenuItem
key={`${itemId}-${order}`}
disabled={eventOrder === order}
onClick={() => setEventOrder(order)}
{...sharedProps(orderKey)}
{...itemProps(index, () => setEventOrder(order))}
{...itemProps(index)}
/>)}
</ul>
</>,
Expand Down

0 comments on commit e8f5350

Please sign in to comment.