apply hotfix for logo

This commit is contained in:
Alex Holliday
2025-06-26 11:46:50 +08:00
parent 4c5bb66c3d
commit 6047163150
4 changed files with 698 additions and 694 deletions
@@ -26,7 +26,8 @@ const ActionMenu = ({ notification, onDelete }) => {
setAnchorEl(null);
};
const handleRemove = () => {
const handleRemove = (e) => {
e.stopPropagation();
onDelete(notification._id);
handleClose();
};
@@ -117,7 +117,7 @@ const TabSettings = ({
component="h2"
variant="h2"
>
{t("settingsAppearance")}
{t("statusPageCreateAppearanceTitle")}
</Typography>
<Typography component="p">
{t("statusPageCreateAppearanceDescription")}
+2 -1
View File
@@ -60,6 +60,7 @@ const CreateStatusPage = () => {
const [statusPage, statusPageMonitors, statusPageIsLoading, statusPageNetworkError] =
useStatusPageFetch(isCreate, url);
console.log(JSON.stringify(form, null, 2));
// Handlers
const handleFormChange = (e) => {
let { type, name, value, checked } = e.target;
@@ -177,7 +178,7 @@ const CreateStatusPage = () => {
}
let newLogo = undefined;
if (statusPage.logo) {
if (statusPage.logo && Object.keys(statusPage.logo).length > 0) {
newLogo = {
src: `data:${statusPage.logo.contentType};base64,${statusPage.logo.data}`,
name: "logo",
+693 -691
View File
File diff suppressed because it is too large Load Diff