Skip to content

Commit

Permalink
fix: minor issues
Browse files Browse the repository at this point in the history
  • Loading branch information
nathan-vm committed Jul 29, 2024
1 parent 0cc4ff7 commit 204880a
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 773 deletions.
1 change: 0 additions & 1 deletion src/renderer/src/context/Projects/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,6 @@ export const ProjectsProvider: React.FC<{ children: ReactNode }> = ({
}, [])

const createMotifVideos = useCallback(async (data) => {
console.log(data)
const res = await createMotifVideosVAMEProject(data)
await refresh()
return res
Expand Down
4 changes: 2 additions & 2 deletions src/renderer/src/pages/Project/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ const Project: React.FC = () => {

if (tab) {
const localItem = `selected-tab-${project?.config.Project}`
console.log("localItem",localItem)
localStorage.setItem(localItem, tab)
setSelectedTab(tab)
}
Expand Down Expand Up @@ -109,6 +108,7 @@ const Project: React.FC = () => {
segmented,
motif_videos_created,
community_videos_created,
umaps_created,
} = project.workflow

const {
Expand Down Expand Up @@ -261,7 +261,7 @@ const Project: React.FC = () => {
{
id: 'umap-visualization',
label: '7. UMAP Visualization',
completed: visualization?.execution_state==="success",
complete: umaps_created,
disabled: !segmented,
tooltip: "Need segmentation.",
content: <UMAPVisualization
Expand Down
Loading

0 comments on commit 204880a

Please sign in to comment.