Skip to content

Commit

Permalink
fix(ui): add missing i18n key and styles on EmptyView
Browse files Browse the repository at this point in the history
  • Loading branch information
hdinia authored and skamril committed Sep 3, 2024
1 parent e345158 commit 652362d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion webapp/src/components/common/MatrixInput/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ function MatrixInput({
isPercentDisplayEnabled={enablePercentDisplay}
/>
) : (
!isLoading && <EmptyView title="matrix.message.matrixEmpty" />
!isLoading && <EmptyView title={t("matrix.message.matrixEmpty")} />
)}
</Content>
{openImportDialog && (
Expand Down
1 change: 1 addition & 0 deletions webapp/src/components/common/page/SimpleContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ function EmptyView(props: EmptyViewProps) {
<Box
sx={{
height: 1,
width: 1,
display: "flex",
flexDirection: "column",
alignItems: "center",
Expand Down

0 comments on commit 652362d

Please sign in to comment.