Skip to content

Commit

Permalink
use mime-type-based icons
Browse files Browse the repository at this point in the history
  • Loading branch information
aubin-tchoi committed Feb 12, 2025
1 parent 45924a8 commit 3df4101
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions front/components/spaces/SpaceDataSourceViewContentList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,7 @@ import type {
SpaceType,
WorkspaceType,
} from "@dust-tt/types";
import {
isDevelopment,
isDustWorkspace,
isValidContentNodesViewType,
} from "@dust-tt/types";
import { isValidContentNodesViewType } from "@dust-tt/types";
import type {
CellContext,
ColumnDef,
Expand Down Expand Up @@ -390,10 +386,7 @@ export const SpaceDataSourceViewContentList = ({
() =>
nodes?.map((contentNode) => ({
...contentNode,
icon: getVisualForContentNode(
contentNode,
isDevelopment() || isDustWorkspace(owner)
),
icon: getVisualForContentNode(contentNode),
spaces: spaces.filter((space) =>
dataSourceViews
.filter(
Expand Down

0 comments on commit 3df4101

Please sign in to comment.