Skip to content

Commit 706e272

Browse files
committed
Merge remote-tracking branch 'refs/remotes/origin/dev' into dev
2 parents f6a90dd + 4c08b6a commit 706e272

File tree

4 files changed

+9
-18
lines changed

4 files changed

+9
-18
lines changed

src/apps/content-editor/src/app/views/ItemList/ConfirmDeletesDialog.tsx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import { DeleteRounded } from "@mui/icons-material";
1414
import { useRef } from "react";
1515
import { ContentItem } from "../../../../../../shell/services/types";
1616
import { DialogContentItem } from "./DialogContentItem";
17+
import pluralizeWord from "../../../../../../utility/pluralizeWord";
1718

1819
type ConfirmDeletesModalProps = {
1920
items: ContentItem[];
@@ -49,9 +50,10 @@ export const ConfirmDeletesDialog = ({
4950
</Stack>
5051
<Box>Delete {items.length} Items:</Box>
5152
<Typography variant="body2" color="text.secondary" mt={1}>
52-
Deleting these {items.length} items will remove it from all locations
53-
throughout your site and make it unavailable to API requests. This
54-
cannot be undone.
53+
Deleting {items.length > 1 ? "these" : "this"} {items.length}{" "}
54+
{pluralizeWord("item", items.length)} will remove it from all
55+
locations throughout your site and make it unavailable to API
56+
requests. This cannot be undone.
5557
</Typography>
5658
</DialogTitle>
5759
<DialogContent>

src/apps/content-editor/src/app/views/ItemList/ConfirmPublishesDialog.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,9 @@ export const ConfirmPublishesModal = ({
5757
<Typography variant="body2" color="text.secondary" mt={1}>
5858
This will make the the following {items.length} content{" "}
5959
{pluralizeWord("item", items.length)} immediately available on all of
60-
your platforms. You can always unpublish this item later if needed.
60+
your platforms. You can always unpublish{" "}
61+
{items.length > 1 ? "these" : "this"}{" "}
62+
{pluralizeWord("item", items.length)} later if needed.
6163
</Typography>
6264
</DialogTitle>
6365
<DialogContent>

src/shell/components/login/Login.js

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -92,12 +92,9 @@ export default connect((state) => {
9292
display="flex"
9393
alignItems="center"
9494
justifyContent="center"
95-
sx={{
96-
backgroundColor: "grey.900",
97-
}}
9895
>
9996
<Paper
100-
elevation={0}
97+
elevation={8}
10198
sx={{
10299
boxSizing: "border-box",
103100
width: "400px",
@@ -300,15 +297,6 @@ export default connect((state) => {
300297
</Box>
301298
)}
302299
</Paper>
303-
<Box
304-
component="img"
305-
src={zestyLogo}
306-
position="fixed"
307-
top="32px"
308-
left="32px"
309-
alt="Zesty.io Logo"
310-
loading="lazy"
311-
/>
312300
</Box>
313301
);
314302
})

src/shell/components/private-route/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@ export default connect((state) => {
7474
<Backdrop
7575
sx={{
7676
zIndex: (theme) => theme.zIndex.tooltip + 10, // Needs to be on top of everything
77-
bgcolor: "background.paper",
7877
}}
7978
open={!props.auth.checking && !props.auth.valid}
8079
>

0 commit comments

Comments
 (0)