Skip to content

Commit

Permalink
QoL button update
Browse files Browse the repository at this point in the history
  • Loading branch information
dmf444 committed Sep 13, 2024
1 parent 940b266 commit 197a058
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/renderer/components/files/FileInfo.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
import * as React from 'react';
import {Card, Col, Row, Button, Divider, Input, Typography, Form, Select, Popconfirm, Upload, Empty} from 'antd';
import {ImageRendering} from "@/renderer/components/files/ImageRendering";
import {Card, Col, Row, Button, Divider, Typography, Form, Select, Popconfirm, Upload, Empty} from 'antd';

const { Option } = Select;
const log = require('electron-log');
const { Text, Title } = Typography;
const { TextArea } = Input;
const { Text } = Typography;
import {
DeleteOutlined,
DeliveredProcedureOutlined, DownloadOutlined,
Expand Down Expand Up @@ -215,7 +213,7 @@ export class FileInfo extends React.Component<FileProps, FileInfoState>{
<Button type="primary" icon={<DeliveredProcedureOutlined />} block={true} style={{paddingLeft: "10px", paddingRight: "10px"}} onClick={this.sendFileBrowser}>Open File</Button>
</Col>
<Col span={12}>
<Button type="primary" icon={<IeOutlined />} block={true} style={{paddingLeft: "10px", paddingRight: "10px"}} onClick={this.sendOpenBrowser}>Open File In Browser</Button>
<Button type="primary" icon={<IeOutlined />} block={true} style={{paddingLeft: "10px", paddingRight: "10px"}} onClick={this.sendOpenBrowser} disabled={ !this.props.editingCard.url}>Open File In Browser</Button>
</Col>
</Row>

Expand Down

0 comments on commit 197a058

Please sign in to comment.