Skip to content
Snippets Groups Projects
Commit 8494393b authored by Bjarke Madsen's avatar Bjarke Madsen
Browse files

Move sidebar and download components into folders

parent b430c54f
No related branches found
No related tags found
1 merge request!134Refactor
Showing
with 11 additions and 11 deletions
import React, { ReactElement } from "react";
import { Container, Row } from "react-bootstrap";
import OrganizationSidebar from "./OrganizationSidebar";
import OrganizationSidebar from "./sidebar/OrganizationSidebar";
import PageHeader from "../components/global/PageHeader"
import SectionNavigation from "./SectionNavigation";
import { Sections } from "../helpers/constants";
import PolicySidebar from "./PolicySidebar";
import PolicySidebar from "./sidebar/PolicySidebar";
import { Chart as ChartJS } from 'chart.js';
import { usePreview } from "../helpers/usePreview";
import NetworkSidebar from "./NetworkSidebar";
import ConnectedUsersSidebar from "./ConnectedUsersSidebar";
import ServicesSidebar from "./ServicesSidebar";
import DownloadContainer from "../components/DownloadContainer";
import NetworkSidebar from "./sidebar/NetworkSidebar";
import ConnectedUsersSidebar from "./sidebar/ConnectedUsersSidebar";
import ServicesSidebar from "./sidebar/ServicesSidebar";
import DownloadContainer from "./download/DownloadContainer";
import useMatomo from "../matomo/UseMatomo";
......
......@@ -2,7 +2,7 @@ import React from "react";
import DownloadDataButton from "./DownloadDataButton";
import DownloadImageChartButton from "./DownloadImageChartButton";
import { ExportType } from "../helpers/constants";
import { ExportType } from "../../helpers/constants";
const DownloadContainer = ({ data, filename }) => {
return <div className="downloadcontainer">
......
import React from 'react';
import * as XLSX from "xlsx";
import { ExportType } from "../helpers/constants";
import { ExportType } from "../../helpers/constants";
import { FaDownload } from 'react-icons/fa';
......
import React, { useContext, useState, useRef, useEffect } from 'react';
import * as htmlToImage from 'html-to-image';
import { ImageType } from "../helpers/constants";
import { ChartContainerContext } from "../providers/ChartContainerProvider";
import { ImageType } from "../../helpers/constants";
import { ChartContainerContext } from "../../providers/ChartContainerProvider";
import { FaDownload } from 'react-icons/fa';
interface DownloadImageChartProps {
......
import React, { useEffect, useState } from 'react';
// import { sidebarContext } from "../helpers/SidebarProvider";
// import { sidebarContext } from "../helpers/sidebarProvider";
import { AiOutlineClose, AiOutlinePlus } from 'react-icons/ai';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment