diff --git a/install.sh b/install.sh index 7a60e05f..059567bb 100755 --- a/install.sh +++ b/install.sh @@ -74,7 +74,7 @@ if [ "$OS" = "Darwin" ]; then install_unix create_launchd_plist enable_launchd_plist - sudo xattr -r -d com.apple.quarantine /usr/local/bin/backrest # remove quarantine flag + sudo xattr -d com.apple.quarantine /usr/local/bin/backrest # remove quarantine flag elif [ "$OS" = "Linux" ]; then echo "Installing on Linux" install_unix diff --git a/webui/src/index.tsx b/webui/src/index.tsx index 92d58ea1..d694d33e 100644 --- a/webui/src/index.tsx +++ b/webui/src/index.tsx @@ -8,7 +8,7 @@ import "react-js-cron/dist/styles.css"; import { ConfigProvider as AntdConfigProvider, theme } from "antd"; import { ConfigContextProvider } from "./components/ConfigProvider"; import { MainContentProvider } from "./views/MainContentArea"; -import { ThemeProvider, createTheme } from "@mui/material"; +import { StyledEngineProvider, ThemeProvider, createTheme } from "@mui/material"; const Root = ({ children }: { children: React.ReactNode }) => { return ( @@ -35,14 +35,16 @@ el && ], }} > - - - - - + + + + + + + ); diff --git a/webui/src/views/RepoView.tsx b/webui/src/views/RepoView.tsx index d7b791d7..e2de34fc 100644 --- a/webui/src/views/RepoView.tsx +++ b/webui/src/views/RepoView.tsx @@ -6,13 +6,11 @@ import { OperationTree } from "../components/OperationTree"; import { MAX_OPERATION_HISTORY, STATS_OPERATION_HISTORY } from "../constants"; import { GetOperationsRequest } from "../../gen/ts/v1/service_pb"; import { BackupInfo, BackupInfoCollector, getOperations, shouldHideStatus } from "../state/oplog"; -import { RepoStats } from "../../gen/ts/v1/restic_pb"; import { formatBytes, formatDate, formatTime } from "../lib/formatting"; import { Operation, OperationStats, OperationStatus } from "../../gen/ts/v1/operations_pb"; import { backrestService } from "../api"; import { StringValue } from "@bufbuild/protobuf"; import { SpinButton } from "../components/SpinButton"; -import { ConfigContext } from "antd/es/config-provider"; import { useConfig } from "../components/ConfigProvider"; import { useAlertApi } from "../components/Alerts"; import { LineChart } from "@mui/x-charts";