Skip to content

Commit

Permalink
Removed print functionality option from asset table
Browse files Browse the repository at this point in the history
  • Loading branch information
ydahal1 committed Sep 6, 2024
1 parent 3190a92 commit 24925fa
Showing 1 changed file with 1 addition and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React, { useState, useEffect } from 'react';
import { Table, message, Tooltip, Divider, Space, Typography, Button } from 'antd';
import { useHistory } from 'react-router';
import { useSelector, useDispatch } from 'react-redux';
import { DeleteOutlined, EditOutlined, FolderOpenOutlined, FilePdfOutlined } from '@ant-design/icons';
import { DeleteOutlined, EditOutlined, FolderOpenOutlined } from '@ant-design/icons';

import { authHeader, handleError } from '../../common/AuthHeader.js';
import MoveAssetsDialog from './MoveAssetsDialog';
Expand Down Expand Up @@ -323,21 +323,6 @@ function AssetsTable({ openGroup, handleEditGroup, refreshGroups }) {
onClick={() => openMoveAssetDialog(record.id, record.type, record.name, selectedGroup)}
/>
</Tooltip>

<Tooltip placement="right" title={<Text text="Print" />}>
<FilePdfOutlined
className="asset-action-icon"
onClick={() =>
getNestedAssets(
applicationId,
setSelectedAsset,
setSelectDetailsforPdfDialogVisibility,
record,
setToPrintAssets
)
}
/>
</Tooltip>
</Space>
),
},
Expand Down

0 comments on commit 24925fa

Please sign in to comment.