Skip to content

Commit

Permalink
uploader link fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mbaudis committed Feb 21, 2025
1 parent 7f3e84d commit eb546aa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 208 deletions.
204 changes: 0 additions & 204 deletions src/components/Layout.js

This file was deleted.

7 changes: 3 additions & 4 deletions src/pages/service-collection/uploader.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import { SITE_DEFAULTS } from "../../hooks/api"
import { Layout } from "../../site-specific/Layout"
import React, { useState } from "react"
import { useDropzone } from "react-dropzone"
import { uploadFile } from "../../hooks/api"
import { basePath, uploadFile } from "../../hooks/api"
import Panel from "../../components/Panel"

export default function FileLoaderPage() {
Expand Down Expand Up @@ -179,8 +178,8 @@ function Dropzone({ setResult }) {
function Results({ results, onCancelClicked }) {
const fileId = results.fileId
// const visualizationLink = getVisualizationLink("", "", fileId, "", "")
const histoPlotLink = `${SITE_DEFAULTS.API_PATH}services/sampleplots/?datasetIds=upload&fileId=${fileId}`
const samplesPlotLink = `${SITE_DEFAULTS.API_PATH}services/sampleplots/?datasetIds=upload&plotType=samplesplot&fileId=${fileId}`
const histoPlotLink = `${basePath}services/sampleplots/?datasetIds=upload&fileId=${fileId}`
const samplesPlotLink = `${basePath}services/sampleplots/?datasetIds=upload&plotType=samplesplot&fileId=${fileId}`

console.log("histoPlotLink...", histoPlotLink)

Expand Down

0 comments on commit eb546aa

Please sign in to comment.