Merge branch 'feature/debug_notification' into 'develop'
Feature/debug notification See merge request witel3/loan-facilities-expert!48
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
import ReportIcon from "@mui/icons-material/Report";
|
import ReportIcon from "@mui/icons-material/Report";
|
||||||
import { Box, Divider, Typography } from "@mui/material";
|
import { Box, Typography } from "@mui/material";
|
||||||
import { toast } from "react-toastify";
|
import { toast } from "react-toastify";
|
||||||
|
|
||||||
const WarningNotification = (directionApp, status, t) => {
|
const WarningNotification = (directionApp, status, t) => {
|
||||||
@@ -18,15 +18,15 @@ const WarningNotification = (directionApp, status, t) => {
|
|||||||
<ReportIcon color="warning" sx={{ mr: 1.6 }} />
|
<ReportIcon color="warning" sx={{ mr: 1.6 }} />
|
||||||
<Box sx={{ display: "flex", flexDirection: "column" }}>
|
<Box sx={{ display: "flex", flexDirection: "column" }}>
|
||||||
<Typography color="warning.main" variant="button">
|
<Typography color="warning.main" variant="button">
|
||||||
{t("warning")} ({t("code")}: {status})
|
{t("notifications.warning")} ({t("notifications.code")}:{" "}
|
||||||
|
{status})
|
||||||
</Typography>
|
</Typography>
|
||||||
<Typography variant="caption">
|
<Typography variant="caption">
|
||||||
{t("warning_static_text")}
|
{t("notifications.warning_static_text")}
|
||||||
</Typography>
|
</Typography>
|
||||||
</Box>
|
</Box>
|
||||||
</Box>
|
</Box>
|
||||||
</Box>
|
</Box>
|
||||||
<Divider sx={{ my: 1 }} />
|
|
||||||
</>
|
</>
|
||||||
),
|
),
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user