change absolute paths to relative paths
This commit is contained in:
parent
9068f183d6
commit
393b06792a
|
@ -7,7 +7,7 @@ import { I_Folder } from "../../util/types";
|
|||
import AddNewDialog from "./AddNewDialog";
|
||||
import FolderForm from "./FolderForm";
|
||||
import MoveDialog from "./Tree/MoveDialog";
|
||||
import { colors } from "/home/ig/code/git_trunk/typescript/Frontend/src/index";
|
||||
import { colors } from "index";
|
||||
|
||||
const Folder = () => {
|
||||
const { id } = useParams();
|
||||
|
|
|
@ -7,7 +7,7 @@ import ChevronRightIcon from "@mui/icons-material/ChevronRight";
|
|||
import useRouteMatch from "../../../hooks/useRouteMatch";
|
||||
import routes from "../../../routes.json";
|
||||
import React from "react";
|
||||
import {colors} from "/home/ig/code/git_trunk/typescript/Frontend/src/index";
|
||||
import { colors } from "index";
|
||||
|
||||
export interface ToggleElement {
|
||||
[key: string]: boolean;
|
||||
|
@ -72,7 +72,6 @@ const CheckboxTree = () => {
|
|||
sx={{
|
||||
paddingY: 0,
|
||||
}}
|
||||
|
||||
/>
|
||||
)}
|
||||
{splitName[splitName.length - 1]}
|
||||
|
|
|
@ -11,8 +11,6 @@ import { fetchData } from "./ScalarGraph";
|
|||
import { useEffect, useState } from "react";
|
||||
import { FetchResult } from "../../../dataCache/dataCache";
|
||||
import { FormattedMessage } from "react-intl";
|
||||
import { colors } from "../../..";
|
||||
import { error } from "console";
|
||||
|
||||
const TopologyView = () => {
|
||||
const [values, setValues] = useState<TopologyValues | null>(null);
|
||||
|
@ -224,7 +222,7 @@ const TopologyView = () => {
|
|||
);
|
||||
}
|
||||
return (
|
||||
<Alert sx={{ mt: 1, }} severity="error">
|
||||
<Alert sx={{ mt: 1 }} severity="error">
|
||||
<FormattedMessage
|
||||
id="noData"
|
||||
defaultMessage="Couldn't find any live data"
|
||||
|
|
|
@ -2,11 +2,12 @@ import { FormattedMessage } from "react-intl";
|
|||
import { useNavigate } from "react-router-dom";
|
||||
import axiosConfig from "../../config/axiosConfig";
|
||||
import InnovenergyButton from "./InnovenergyButton";
|
||||
import {colors} from "/home/ig/code/git_trunk/typescript/Frontend/src/index"
|
||||
import { colors } from "index";
|
||||
|
||||
interface LogoutButtonProps {
|
||||
removeToken: () => void;
|
||||
}
|
||||
|
||||
const LogoutButton = (props: LogoutButtonProps) => {
|
||||
const navigate = useNavigate();
|
||||
|
||||
|
@ -20,7 +21,6 @@ const LogoutButton = (props: LogoutButtonProps) => {
|
|||
});
|
||||
}}
|
||||
sx={{ mx: 1, bgcolor: colors.orangeSelected, textTransform: "none" }}
|
||||
|
||||
>
|
||||
<FormattedMessage id="logout" defaultMessage="Logout" />
|
||||
</InnovenergyButton>
|
||||
|
|
Loading…
Reference in New Issue